# Calculatation of the maximal score value of the project scenario using MFPP package.
# Define a 3 by 3 upper triangular adjacency matrix (PEM) of logic domain of a project.
PEM <- rbind(c(0.8,0.4,0.8),
c(0.0,0.7,0.7),
c(0.0,0.0,0.4))
# Define a 3 by 3 score matrix of task/dependency inclusion.
P <- PEM
# Define a 3 by 3 score matrix of task/dependency exclusion.
Q <- 1-P
# Calculation of the maximal score value of the project using MFPP package.
maxscore_PEM(PEM,P, Q)
Run the code above in your browser using DataLab