View source: R/mfpp.R View source: R/tpt.r
tpt | R Documentation |
Calculate EST, EFT, LST and LFT times of activity of a project.
tpt(DSM,TD,SST=NULL)
DSM |
N by N Upper triangular binary matrix of logic domain (a numeric matrix). |
TD |
N by 1 vector of time duration (a numeric vector). |
SST |
N by 1 vector of scheduled start time (a numeric vector). |
TPT |
Total Project Time (a scalar). |
EST |
Early Start Time (a vector). |
EFT |
Early Finish Time (a vector). |
LST |
Latest Start Time (a vector). |
LFT |
Latest Finish Time (a vector). |
SST |
Scheduled Start Time (a vector). |
SFT |
Scheduled Finish Time (a vector). |
Zsolt T. Kosztyan*, Aamir Saghir
e-mail: kzst@gtk.uni-pannon.hu
KosztyƔn, Z. T. (2022). MFPP: Matrix-based flexible project planning. SoftwareX, 17, 100973.
tpc
, tpq
, tpr
, maxscore_PEM
.
# Calculatation of EST, EFT, LST and LFT times of activity of a project
# Define a 3 by 3 upper triangular binary matrix (DSM) of logic domain (LD) of a project.
# Specify sequence of three tasks
# Diagonal values indicates the priority of tasks
# 1=the task is mandatory
LD<-rbind(c(1,1,0), c(0,1,1), c(0,0,1))
# Define a 3 by 1 vector of time durations of a project, where the durations are 3,4,5 respectively.
TD<-c(3,4,5)
# Calculate project duration (total project time, TPT)
TPT<-tpt(LD,TD)
summary(TPT)
# Specify initial scheduled start time, where the delay is 1 for the .
SST <- c(1,0,0)
# Including scheduled starts and finishes.
TPT<-tpt(LD,TD,SST)
# Print schedule table
summary(TPT)
# Plot the scheduled Gantt chart
plot(TPT,sched="S")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.