roads allowed feat
This commit is contained in:
parent
5dfd14f3f2
commit
429a22fcd9
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ public class DijkstraAlgorithm extends ShortestPathAlgorithm {
|
|||
for (Arc successorArc : x.getNode().getSuccessors()) {
|
||||
Label successor = labels.get(successorArc.getDestination().getId());
|
||||
|
||||
if (!successor.isMarked()) {
|
||||
if (!successor.isMarked() && data.isAllowed(successorArc)) {
|
||||
// This loop serves to get the lentgh of the arc as
|
||||
// we know its origin and destination
|
||||
for (Arc arc : x.getNode().getSuccessors()) {
|
||||
|
|
Loading…
Reference in a new issue