Skip to content

Commit

Permalink
use correct transit modes in pt pseudo network
Browse files Browse the repository at this point in the history
  • Loading branch information
rakow committed Sep 6, 2024
1 parent 44496e7 commit eeeb5c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ private void createStopNodesAndLoopLinks() {
this.nodes.put(stop, node);

Link loopLink = this.network.getFactory().createLink(Id.createLinkId (this.prefix + stop.getId()), node, node);
loopLink.setAllowedModes(this.transitModes);
stop.setLinkId(loopLink.getId());
this.network.addLink(loopLink);
Tuple<Node, Node> connection = new Tuple<>(node, node);
Expand Down

0 comments on commit eeeb5c1

Please sign in to comment.