public ModeChoiceHouseholdData(ITashaHousehold household, int numberOfModes, int numberOfVehicleTypes) { var persons = household.Persons; var personData = PersonData = new ModeChoicePersonData[persons.Length]; for ( int i = 0; i < personData.Length; i++ ) { personData[i] = new ModeChoicePersonData( persons[i].TripChains, numberOfModes, numberOfVehicleTypes ); } }
public ModeChoiceHouseholdData(ITashaHousehold household, int numberOfModes, int numberOfVehicleTypes) { var persons = household.Persons; var personData = PersonData = new ModeChoicePersonData[persons.Length]; for (int i = 0; i < personData.Length; i++) { personData[i] = new ModeChoicePersonData(persons[i].TripChains, numberOfModes, numberOfVehicleTypes); } }