|
MATSIM
|
Public Member Functions | |
| void | run (final String inputNetworkFile, final String outputNetworkFile) |
| void | run (final String[] args) |
Static Public Member Functions | |
| static void | main (String[] args) |
Private Member Functions | |
| void | printUsage () |
Reads a network from file and "cleans" it to ensure the network is suited for simulation. Currently, it is ensured that every link can be reached by every other link.
Definition at line 39 of file NetworkCleaner.java.
|
private |
Definition at line 41 of file NetworkCleaner.java.
Referenced by org.matsim.run.NetworkCleaner.run().
| void org.matsim.run.NetworkCleaner.run | ( | final String | inputNetworkFile, |
| final String | outputNetworkFile | ||
| ) |
Runs the network cleaning algorithms over the network read in from inputNetworkFile and writes the resulting ("cleaned") network to the specified file.
| inputNetworkFile | filename of the network to be handled |
| outputNetworkFile | filename where to write the cleaned network to |
Definition at line 65 of file NetworkCleaner.java.
References org.matsim.core.config.ConfigUtils.createConfig(), org.matsim.core.scenario.ScenarioUtils.createScenario(), org.matsim.api.core.v01.Scenario.getNetwork(), org.matsim.core.network.algorithms.NetworkCleaner.run(), and org.matsim.core.network.io.NetworkWriter.write().
Referenced by org.matsim.run.NetworkCleaner.main(), and org.matsim.run.NetworkCleaner.run().

| void org.matsim.run.NetworkCleaner.run | ( | final String [] | args | ) |
Runs the network cleaning algorithms over the network read in from the argument list, and writing the resulting network out to a file again
| args | args[0] filename of the network to be handled, args[1] filename where to write the cleaned network to |
Definition at line 81 of file NetworkCleaner.java.
References org.matsim.core.utils.misc.ArgumentParser.iterator(), org.matsim.run.NetworkCleaner.printUsage(), and org.matsim.run.NetworkCleaner.run().

|
static |
Definition at line 109 of file NetworkCleaner.java.
References org.matsim.run.NetworkCleaner.run().

1.8.13