is.flexible: Function to check the flexibility of PDM matrix.

View source: R/mfpp.R View source: R/is.flexible.R

is.flexibleR Documentation

Function to check the flexibility of PDM matrix.

Description

Checking flexibility of PDM matrix or a PDM list.

Usage

is.flexible(x)

Arguments

x

N by M PDM matrix or a PDM list.

Value

is.flexible

Boolean output whether the project is flexible or not.

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

generatepdm.

Examples


# Generation of PDM matrix for flexible project planning MFPP package.

# Define number of modes, flexibility factor and connectivity factor of a project scenerio.
N=4;ff=0.05;cf=0

# Define maximum value of time domain, Cost domain and Resourcces domain of a project scenerio.
mTD=3;mCD=4;mRD=3

# Define number of modes, number of resources,
# number of possible extra tasks, scale and quality domain of a project scenerio.

w=2;nR=2;nW=2
scale=1.4  #(default value)

# Generation of PDM matrix for TCTP a project scenario using MFPP package.
PDM<-generatepdm(N,ff,cf,mTD,mCD,mRD,w,nR,nW,scale=1.4)

# Flexibility check.

is.flexible(PDM)

# Flexibility check of rounded values.

is.flexible(round(PDM))

# Generation of PDM list for TCTP a project scenario using MFPP package.
PDM<-generatepdm(N,ff,cf,mTD,mCD,mRD,w,nR,nW,scale=1.4,QD=FALSE,lst=TRUE)

# Flexibility check.

is.flexible(PDM)


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