|
MATSIM
|

Public Member Functions | |
| void | run () |
Static Public Member Functions | |
| static void | main (String[] args) |
Private Member Functions | |
| void | fillZoneData () |
| void | generatePopulation () |
| void | generateHomeWorkHomeTrips (String from, String to, int quantity) |
| Leg | createDriveLeg () |
| Coord | shoot (Coord source) |
| Activity | createWork (Coord workLocation) |
| Activity | createHome (Coord homeLocation) |
| Id< Person > | createId (String source, String sink, int i, String transportMode) |
Private Attributes | |
| Map< String, Coord > | zoneGeometries = new HashMap<>() |
| CoordinateTransformation | ct = TransformationFactory.getCoordinateTransformation(TransformationFactory.WGS84, TransformationFactory.WGS84_UTM33N) |
| Scenario | scenario |
| Population | population |
"P" has to do with "Potsdam" and "Z" with "Zurich", but P and Z are mostly used to show which classes belong together.
Definition at line 24 of file RunPPopulationGenerator.java.
|
static |
Definition at line 34 of file RunPPopulationGenerator.java.
References tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.run().

| void tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.run | ( | ) |
Definition at line 40 of file RunPPopulationGenerator.java.
References org.matsim.core.config.ConfigUtils.createConfig(), org.matsim.core.scenario.ScenarioUtils.createScenario(), tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.fillZoneData(), tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generatePopulation(), org.matsim.api.core.v01.Scenario.getNetwork(), org.matsim.api.core.v01.Scenario.getPopulation(), and org.matsim.api.core.v01.population.PopulationWriter.write().
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.main().

|
private |
Definition at line 49 of file RunPPopulationGenerator.java.
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.run().
|
private |
Definition at line 56 of file RunPPopulationGenerator.java.
References tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generateHomeWorkHomeTrips().
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.run().

|
private |
Definition at line 61 of file RunPPopulationGenerator.java.
References org.matsim.api.core.v01.population.Plan.addActivity(), org.matsim.api.core.v01.population.Plan.addLeg(), org.matsim.api.core.v01.population.Population.addPerson(), org.matsim.api.core.v01.population.HasPlansAndId< T extends BasicPlan, I >.addPlan(), org.matsim.api.core.v01.TransportMode.car, tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.createDriveLeg(), tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.createHome(), tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.createId(), org.matsim.api.core.v01.population.PopulationFactory.createPerson(), org.matsim.api.core.v01.population.PopulationFactory.createPlan(), tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.createWork(), org.matsim.api.core.v01.population.Population.getFactory(), tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.shoot(), and org.matsim.core.utils.geometry.CoordinateTransformation.transform().
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generatePopulation().

|
private |
Definition at line 79 of file RunPPopulationGenerator.java.
References org.matsim.api.core.v01.TransportMode.car, org.matsim.api.core.v01.population.PopulationFactory.createLeg(), and org.matsim.api.core.v01.population.Population.getFactory().
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generateHomeWorkHomeTrips().

|
private |
Definition at line 84 of file RunPPopulationGenerator.java.
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generateHomeWorkHomeTrips().
|
private |
Definition at line 90 of file RunPPopulationGenerator.java.
References org.matsim.api.core.v01.population.PopulationFactory.createActivityFromCoord(), org.matsim.api.core.v01.population.Population.getFactory(), and org.matsim.api.core.v01.population.Activity.setEndTime().
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generateHomeWorkHomeTrips().

|
private |
Definition at line 96 of file RunPPopulationGenerator.java.
References org.matsim.api.core.v01.population.PopulationFactory.createActivityFromCoord(), org.matsim.api.core.v01.population.Population.getFactory(), and org.matsim.api.core.v01.population.Activity.setEndTime().
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generateHomeWorkHomeTrips().

|
private |
Definition at line 102 of file RunPPopulationGenerator.java.
Referenced by tutorial.programming.example08DemandGeneration.RunPPopulationGenerator.generateHomeWorkHomeTrips().
|
private |
Definition at line 26 of file RunPPopulationGenerator.java.
|
private |
Definition at line 28 of file RunPPopulationGenerator.java.
|
private |
Definition at line 30 of file RunPPopulationGenerator.java.
|
private |
Definition at line 32 of file RunPPopulationGenerator.java.
1.8.8