Ejemplo n.º 1
0
 def toySimulationParams(loadTarget=True, test=False): 
     
     if loadTarget: 
         resultsDir = PathDefaults.getOutputDir() + "viroscopy/toy/" 
         graphFile = resultsDir + "ToyEpidemicGraph0"
         targetGraph = HIVGraph.load(graphFile)        
     
     startDate = 0.0        
     endDate = 1000.0
     recordStep = 100
     M = 5000
     testPeriod = 300
     
     if test:
         endDate += testPeriod   
     
     if loadTarget: 
         return startDate, endDate, recordStep, M, targetGraph
     else: 
         return startDate, endDate, recordStep, M