diff options
Diffstat (limited to 'structure')
| -rw-r--r-- | structure/MyGraph.java (renamed from structure/Graph.java) | 0 | ||||
| -rw-r--r-- | structure/Router.java | 1 |
2 files changed, 0 insertions, 1 deletions
diff --git a/structure/Graph.java b/structure/MyGraph.java index 1c2dc0f..1c2dc0f 100644 --- a/structure/Graph.java +++ b/structure/MyGraph.java diff --git a/structure/Router.java b/structure/Router.java index fce5977..3a8d8f9 100644 --- a/structure/Router.java +++ b/structure/Router.java @@ -22,7 +22,6 @@ public class Router { public void buildLink(Router router, int weight){ this.links.remove(router); router.removeLink(this); - this.links.put(router, weight); router.addLink(this, weight); |
