permettre la modification des successeurs du node pour l'algo marathon
This commit is contained in:
parent
fd6b03a32c
commit
69ebb4fd01
1 changed files with 4 additions and 0 deletions
|
@ -157,4 +157,8 @@ public final class Node { //implements Comparable<Node> {
|
|||
// return Integer.compare(getId(), other.getId());
|
||||
// }
|
||||
|
||||
public void removeArc(Arc arcToRemove) {
|
||||
successors.remove(arcToRemove);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue