|
MATSIM
|
Public Member Functions | |
| void | run (final String[] args) |
Static Public Member Functions | |
| static void | main (final String[] args) |
Private Member Functions | |
| void | parseArguments (final String[] args) |
| void | printUsage () |
Private Attributes | |
| Config | config |
| String | configfile = null |
| String | plansfile = null |
Assigns each activity in each plan of each person in the population a link where the activity takes place based on the coordinates given for the activity. This tool is used for mapping a new demand/population to a network for the first time.
Definition at line 43 of file XY2Links.java.
|
private |
Parses all arguments and sets the corresponding members.
| args |
Definition at line 54 of file XY2Links.java.
References org.matsim.core.utils.misc.ArgumentParser.iterator(), and org.matsim.run.XY2Links.printUsage().
Referenced by org.matsim.run.XY2Links.run().

|
private |
Definition at line 76 of file XY2Links.java.
Referenced by org.matsim.run.XY2Links.parseArguments().
| void org.matsim.run.XY2Links.run | ( | final String [] | args | ) |
Starts the assignment of links to activities.
| args | command-line arguments |
Definition at line 100 of file XY2Links.java.
References org.matsim.core.population.io.StreamingPopulationReader.addAlgorithm(), org.matsim.core.population.io.StreamingPopulationWriter.closeStreaming(), org.matsim.core.scenario.ScenarioUtils.createMutableScenario(), org.matsim.core.scenario.MutableScenario.getConfig(), org.matsim.core.config.groups.NetworkConfigGroup.getInputFile(), org.matsim.core.scenario.MutableScenario.getNetwork(), org.matsim.core.config.groups.GlobalConfigGroup.getRandomSeed(), org.matsim.core.config.Config.global(), org.matsim.core.config.ConfigUtils.loadConfig(), org.matsim.core.config.Config.network(), org.matsim.run.XY2Links.parseArguments(), org.matsim.core.population.PopulationUtils.printPlansCount(), org.matsim.core.population.io.StreamingPopulationReader.readFile(), org.matsim.core.gbl.MatsimRandom.reset(), and org.matsim.core.population.io.StreamingPopulationWriter.startStreaming().
Referenced by org.matsim.run.XY2Links.main().

|
static |
Main method to start the assignment of links to activities.
| args | Array of arguments, usually passed on the command line. |
Definition at line 125 of file XY2Links.java.
References org.matsim.run.XY2Links.run().

|
private |
Definition at line 45 of file XY2Links.java.
|
private |
Definition at line 46 of file XY2Links.java.
|
private |
Definition at line 47 of file XY2Links.java.
1.8.13