cpm.all.schedule | R Documentation |
Generates all possible schedules for a cpm network
cpm.all.schedule(cpm)
cpm |
CPM vector with Early Start Time, Early Finish Time, Late Start Time and Late Finish Time. |
Matrix with all mininum makespan (the time to complete all jobs) cpm start time schedules
Other scheduling:
cpm()
,
mmf.all.sequences()
,
mmf.get.breakeven()
,
mmf.get.selffunding()
,
mmf.npv()
#Use critical.path.method function to calculate a set of project
#activities:
ex.cpm.activities.duration <- c(1,4,5,7,2,3,1)
ex.cpm.activities.successors <- list(c(2,3), 4, c(4,5), 6, 7, 7, c(0))
ex.cpm <- cpm(ex.cpm.activities.duration,
ex.cpm.activities.successors)
# Now, we have the CPM vector with:
# - est (Early Start Time) - ex.cpm["est"]
# - eft (Early Finish Time) - ex.cpm["eft"]
# - lst (Late Start Time) - ex.cpm["lst"]
# - lft (Late Finish Time) - ex.cpm["lft"]
ex.cpm.activities.schedule <-
cpm.all.schedule(ex.cpm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.