Skip to content

Commit

Permalink
fix debugging name
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuehnel committed Feb 13, 2025
1 parent ff807f9 commit 98ec498
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Path createPath(Node toNode) {
return null;
}
var nodes = constructNodeSequence(dijkstraTree, toNode, forwardSearch);
var links = constructLinkSequenceNew(dijkstraTree, toNode, forwardSearch);
var links = constructLinkSequence(dijkstraTree, toNode, forwardSearch);
double cost = dijkstraTree.getCost(toNodeIndex);
return new Path(nodes, links, travelTime, cost);
}
Expand All @@ -152,7 +152,7 @@ private List<Node> constructNodeSequence(LeastCostPathTree dijkstraTree, Node to
return nodes;
}

private List<Link> constructLinkSequenceNew(LeastCostPathTree dijkstraTree, Node toNode, boolean forward) {
private List<Link> constructLinkSequence(LeastCostPathTree dijkstraTree, Node toNode, boolean forward) {
ArrayList<Link> links = new ArrayList<>();

LeastCostPathTree.LinkPathIterator pathIterator = dijkstraTree.getLinkPathIterator(toNode);
Expand Down

0 comments on commit 98ec498

Please sign in to comment.