MATSIM
Public Member Functions | List of all members
org.matsim.households.HouseholdsFactoryImpl Class Reference
Inheritance diagram for org.matsim.households.HouseholdsFactoryImpl:
Inheritance graph
[legend]

Public Member Functions

HouseholdImpl createHousehold (Id< Household > householdId)
 
Income createIncome (double income, IncomePeriod period)
 

Detailed Description

Author
dgrether

Definition at line 32 of file HouseholdsFactoryImpl.java.

Member Function Documentation

◆ createHousehold()

HouseholdImpl org.matsim.households.HouseholdsFactoryImpl.createHousehold ( Id< Household householdId)

Implements org.matsim.households.HouseholdsFactory.

Definition at line 35 of file HouseholdsFactoryImpl.java.

References org.matsim.households.HouseholdImpl.setMemberIds(), and org.matsim.households.HouseholdImpl.setVehicleIds().

35  {
36  HouseholdImpl hh = new HouseholdImpl(householdId);
37  hh.setMemberIds(new ArrayList<Id<Person>>());
38  hh.setVehicleIds(new ArrayList<Id<Vehicle>>());
39  return hh;
40  }
Here is the call graph for this function:

◆ createIncome()

Income org.matsim.households.HouseholdsFactoryImpl.createIncome ( double  income,
IncomePeriod  period 
)

Implements org.matsim.households.HouseholdsFactory.

Definition at line 43 of file HouseholdsFactoryImpl.java.

43  {
44  return new IncomeImpl(income, period);
45  }

The documentation for this class was generated from the following file: