plot.mfpp {mfpp} | R Documentation |
Plot function for Matrix-Based Flexible Project Planning
Description
Plot function for the Package of Matrix-Based Flexible Project Planning (mfpp)
Usage
## S3 method for class 'PDM_matrix'
plot(x,w=NULL,Rs=NULL,
type=c("orig","max","min","maximin","minimax","most","const"),
main=NULL,col=NULL,...)
## S3 method for class 'PDM_list'
plot(x,
type=c("orig","max","min","maximin","minimax","most","const"),
main=NULL,col=NULL, ...)
## S3 method for class 'Set_PDM_matrix'
plot(x,w=NULL,Rs=NULL,
type=c("orig","max","min","maximin","minimax","most","const"),col=NULL, ...)
## S3 method for class 'Set_PDM_list'
plot(x,
type=c("orig","max","min","maximin","minimax","most","const"),col=NULL, ...)
## S3 method for class 'TPT'
plot(x,
sched="E", ...)
Arguments
x |
an object of class 'PDM_matrix' or 'PDM_list'. |
w |
number of completion modes (positive integer) |
Rs |
number of resources (positive integer) |
type |
set of plots, where (orig) means original, (min) minimal, (max) maximal, (maximin) maximin, (minimax) minimax structures are plotted, respectively, and as well as the minimal/maximal constraints (const) |
sched |
character starts are calculated either "E" to early, or "L" to late, or "S" to scheduled start time |
main |
title of the plot of fixed structure |
col |
color of barplot |
... |
other graphical parameters. |
Value
No return value, called for side effects
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
summary
, generatepdm
, percent
.
Examples
# Plot PDM lists.
# Define number of modes, flexibility factor and connectivity factor of a project scenerio.
N=4;ff=0.3;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.6
# Generation of PDM list for TCTP a project scenario using MFPP package.
PDM<-generatepdm(N,ff,cf,mTD,mCD,mRD,w,nR,nW,scale,lst=TRUE)
plot(PDM)