Exemple #1
0
 public void Initialize(bool createPool, AgentType currType)
 {
     InitializeInputData(currType);
     if (createPool == true)
     {
         LoadZones(currType);
         LoadZonalData(currType);
     }
     else
     {
         if (currType != AgentType.Person)
         {
             using (InputDataReader currReader = new InputDataReader(Constants.DATA_DIR
                         + "Household\\CensusHhldCountByDwell.csv"))
             {
                 zonalControlTotals = new Hashtable();
                 currReader.FillControlTotalsByDwellType(zonalControlTotals);
             }
         }
     }
 }