|
MATSIM
|

Public Member Functions | |
| HouseholdsImpl () | |
| final void | addHousehold (final Household household) |
| HouseholdsFactory | getFactory () |
| void | setFactory (HouseholdsFactory factory) |
| Map< Id< Household >, Household > | getHouseholds () |
| ObjectAttributes | getHouseholdAttributes () |
Private Attributes | |
| HouseholdsFactory | factory |
| Map< Id< Household >, Household > | households |
Basic implementation of the Households container, a pure data class
Definition at line 34 of file HouseholdsImpl.java.
| org.matsim.households.HouseholdsImpl.HouseholdsImpl | ( | ) |
Definition at line 40 of file HouseholdsImpl.java.
| final void org.matsim.households.HouseholdsImpl.addHousehold | ( | final Household | household | ) |
Adds the household to the container. If streaming is set, the household is added, the algorithms are run on the household, and it is subsequently removed. If not, the household is added incrementally to the container.
| household |
| IllegalArgumentException | if the container already includes the Id of the household being added. |
Definition at line 54 of file HouseholdsImpl.java.
References org.matsim.households.HouseholdsImpl.getHouseholds(), and org.matsim.api.core.v01.Identifiable< T >.getId().

| HouseholdsFactory org.matsim.households.HouseholdsImpl.getFactory | ( | ) |
Implements org.matsim.households.Households.
Definition at line 64 of file HouseholdsImpl.java.
References org.matsim.households.HouseholdsImpl.factory.
| void org.matsim.households.HouseholdsImpl.setFactory | ( | HouseholdsFactory | factory | ) |
Definition at line 68 of file HouseholdsImpl.java.
References org.matsim.households.HouseholdsImpl.factory.
Implements org.matsim.households.Households.
Definition at line 73 of file HouseholdsImpl.java.
References org.matsim.households.HouseholdsImpl.households.
Referenced by org.matsim.households.HouseholdsImpl.addHousehold().
| ObjectAttributes org.matsim.households.HouseholdsImpl.getHouseholdAttributes | ( | ) |
Implements org.matsim.households.Households.
Definition at line 78 of file HouseholdsImpl.java.
References org.matsim.utils.objectattributes.FailingObjectAttributes.createHouseholdsAttributes().

|
private |
Definition at line 36 of file HouseholdsImpl.java.
Referenced by org.matsim.households.HouseholdsImpl.getFactory(), and org.matsim.households.HouseholdsImpl.setFactory().
Definition at line 38 of file HouseholdsImpl.java.
Referenced by org.matsim.households.HouseholdsImpl.getHouseholds().
1.8.13