faq 105381898 - matsim-org/matsim-code-examples GitHub Wiki
by Andrew A Campbell on 2017-01-08 21:17:39
Is anyone aware of a method to initiate a network directly from the network file instead of using the standard scenario.getNetwork()
method?
Thanks.
by Pieter Fourie on 2017-01-09 02:54:37
Network myNetwork = NetworkUtils.createNetwork();
new MatsimNetworkReader(myNetwork).readFile("network.xml");