tpt: Function to evaluate EST, EFT, LST and LFT times of activity...

View source: R/mfpp.R View source: R/tpt.r

tptR Documentation

Function to evaluate EST, EFT, LST and LFT times of activity of a project.

Description

Calculate EST, EFT, LST and LFT times of activity of a project.

Usage

tpt(DSM,TD,SST=NULL)

Arguments

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).

Value

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).

Author(s)

Zsolt T. Kosztyan*, Aamir Saghir

e-mail: kzst@gtk.uni-pannon.hu

References

KosztyƔn, Z. T. (2022). MFPP: Matrix-based flexible project planning. SoftwareX, 17, 100973.

See Also

tpc, tpq, tpr, maxscore_PEM.

Examples


# 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")

mfpp documentation built on June 22, 2024, 9:35 a.m.

Related to tpt in mfpp...