This commit is contained in:
Loic Guegan 2016-03-29 11:42:05 +02:00
parent 04c6618a68
commit 996c9fc346
2 changed files with 8 additions and 8 deletions

View file

@ -20,14 +20,14 @@ public class Main {
public static void main(String[] args) {
Grid g=new Grid(Grid.Protocol.AODV);
Grid g=new Grid(Grid.Protocol.DSDV);
// Build Graph for graphstream
MyGraph gr=new MyGraph("Routage Oportuniste", g);
gr.display();
gr.update();
/*
//gr.update();
// Update Graph
while(true){
@ -40,7 +40,7 @@ public class Main {
g.buildEdgeWithRandomWeigth();
System.out.println("Update !");
gr.update();
}*/
}
}
}