''' Created on 11 nov. 2012 @author: yassine ''' from PMFiles import PMFiles import sys fileName = sys.argv[1] listActivities = PMFiles.read(fileName) for act in listActivities: act.display()
Created on 11 nov. 2012 @author: Salah Benmoussati, Yassine Zenati ''' from PMFiles import PMFiles import sys from CriticalPathMethod import criticalPathMethod from Sequencing import parallelSequencing from toolsCalculus import find_all_paths, buildList, findNonCriticalAct, projectDuration, buildResources from EarlyLateProcesses import earlyOrLateProcess from ResourceLeveling import resourceLeveling from Flexibility import analyseActivity fileName = sys.argv[1] listActivities = PMFiles.readAct(fileName) conf = PMFiles.readConfProject(sys.argv[2]) projectName = conf["projectName"] resources = conf["resources"] beginDate = conf["beginningDate"] daysOffs = conf["daysOff"] buildList(listActivities) #earlyOrLateProcess(listActivities, resources, True) #earlyOrLateProcess(listActivities, resources, False) #newRes = resourceLeveling(listActivities, resources)