Exemplo n.º 1
0
 /// <summary>
 /// Generate all of the project schedules for the household
 /// </summary>
 /// <param name="household"></param>
 /// <param name="random"></param>
 /// <param name="generationRateAdjustments"></param>
 /// <returns></returns>
 internal static bool GenerateProjectSchedules(this ITashaHousehold household, Random random, GenerationAdjustment[] generationRateAdjustments)
 {
     return(household.GenerateWorkEpisodes(random, generationRateAdjustments) &&
            household.GenerateSchoolEpisodes(random, generationRateAdjustments) &&
            household.GenerateJointOtherEpisodes(random, generationRateAdjustments) &&
            household.GenerateJointMarketEpisodes(random, generationRateAdjustments) &&
            household.GenerateIndividualOtherEpisodes(random, generationRateAdjustments) &&
            household.GenerateIndividualMarketEpisodes(random, generationRateAdjustments));
 }