|
MATSIM
|
Static Public Member Functions | |
| static void | readNetwork (Scenario sc) |
| static void | main (String[] args) |
Static Private Attributes | |
| static final Logger | log = Logger.getLogger(RunNetworkEmme2MatsimExample.class) |
| static final int | PSRC = 0 |
| static final int | EUGENE = 1 |
| static final int | NW_NAME = PSRC |
Translates emme networks into matsim networks.
Uses the "emme network export" result as input, NOT the GIS export.
A serious problem is that there is not enough info in the headers of the emme files: (column counting starts at 0!!!)
Keyword(s): emme/2
I moved this here because in this way it can be html-referenced out of matsim.org. Additional code that does similar things can be found by searching the playground for "emme/2". kai, mar'11
Definition at line 59 of file RunNetworkEmme2MatsimExample.java.
|
static |
Definition at line 67 of file RunNetworkEmme2MatsimExample.java.
References org.matsim.api.core.v01.network.Network.addLink(), org.matsim.api.core.v01.network.Network.addNode(), org.matsim.api.core.v01.network.NetworkFactory.createLink(), org.matsim.api.core.v01.network.NetworkFactory.createNode(), org.matsim.core.utils.io.IOUtils.getBufferedReader(), org.matsim.api.core.v01.network.Network.getFactory(), org.matsim.api.core.v01.Scenario.getNetwork(), org.matsim.api.core.v01.network.Network.getNodes(), org.matsim.api.core.v01.network.Link.setCapacity(), org.matsim.api.core.v01.network.Network.setCapacityPeriod(), org.matsim.api.core.v01.network.Link.setFreespeed(), org.matsim.api.core.v01.network.Link.setLength(), and org.matsim.api.core.v01.network.Link.setNumberOfLanes().
Referenced by tutorial.converter.networkFromEmme.RunNetworkEmme2MatsimExample.main().

|
static |
| args |
Definition at line 164 of file RunNetworkEmme2MatsimExample.java.
References org.matsim.core.config.ConfigUtils.createConfig(), org.matsim.core.scenario.ScenarioUtils.createScenario(), org.matsim.api.core.v01.Scenario.getNetwork(), tutorial.converter.networkFromEmme.RunNetworkEmme2MatsimExample.readNetwork(), org.matsim.core.network.algorithms.NetworkCleaner.run(), and org.matsim.api.core.v01.network.NetworkWriter.write().

|
staticprivate |
Definition at line 60 of file RunNetworkEmme2MatsimExample.java.
|
staticprivate |
Definition at line 62 of file RunNetworkEmme2MatsimExample.java.
|
staticprivate |
Definition at line 63 of file RunNetworkEmme2MatsimExample.java.
|
staticprivate |
Definition at line 65 of file RunNetworkEmme2MatsimExample.java.
1.8.8