{ nwr.readFile( "/Users/fouriep/IdeaProjects/matsim/matsim/examples/siouxfalls-2014/Siouxfalls_network_PT.xml"); network = scenario.getNetwork(); // nca = new IntraMinDeltaOutLinksNCA(scenario.getNetwork()); // nca = new IntraMaxNCA(scenario.getNetwork(),"getCapacityTimesSpeed",null,null); nca = new MinmizeNumberOfOutlinksNCA(scenario.getNetwork(), "getCapacityTimesSpeed", null, null); nca.run(); // new ClusterReader().readClusters("~/Desktop/test.txt", scenario.getNetwork(), nca); colorsForDisplay = new int[nca.getPointersToClusterLevels().size()]; getRandomColors((int) nca.getClusterSteps()); }