- Common ways to obtain NetworkCalcTopoType
private void myMethod () {}
private boolean topoTypeAllowed(Link link) { if(this.topoTypesForStops == null){ // flag not set or null in config return true; } Integer topoType = this.networkCalcTopoType.getTopoType(link.getToNode()); return this.topoTypesForStops.contains(topoType); }
private boolean topoTypeAllowed(Link link) { if(this.topoTypesForStops == null){ // flag not set or null in config return true; } Integer topoType = this.networkCalcTopoType.getTopoType(link.getToNode()); return this.topoTypesForStops.contains(topoType); }
cnt[getTopoType(n)]++;
if(this.nodeTopoToMerge.contains(nodeTopo.getTopoType(node)) && (!this.nodesNotToMerge.contains(node.getId())) ){