diff options
| author | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-03-21 17:28:53 +0100 |
|---|---|---|
| committer | manzerbredes <loic.guegan_secondary@yahoo.fr> | 2016-03-21 17:28:53 +0100 |
| commit | f453154938a0e1a3ba387ff1d7c0630e54b23855 (patch) | |
| tree | c43369b87577b2c087c825ba5d7b15f8ef6af631 /structure/Grid.java | |
| parent | c03d794605cc158f6e0df2c44b5a014c9aa66e5d (diff) | |
Add personal graph
Diffstat (limited to 'structure/Grid.java')
| -rw-r--r-- | structure/Grid.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/structure/Grid.java b/structure/Grid.java index bd0af2a..20f2a4f 100644 --- a/structure/Grid.java +++ b/structure/Grid.java @@ -131,17 +131,7 @@ public class Grid { return currentBestLink; } - /*private int getMaxBottleneck(ArrayList<Integer> link){ - int max=this.getWeigthOfLink(link.get(0), link.get(1)); - for(int j=1;j<link.size()-1;j++){ - int currentMax=this.getWeigthOfLink(link.get(j), link.get(j+1)); - if(max<currentMax){ - max=currentMax; - } - - } - return max; - }*/ + private int getMaxBottleneck(ArrayList<Integer> link){ int max=this.getWeigthOfLink(link.get(0), link.get(1)); for(int j=1;j<link.size()-1;j++){ |
