This commit is contained in:
Loic Guegan 2016-03-29 11:37:18 +02:00
parent fa261c3042
commit 04c6618a68
2 changed files with 25 additions and 19 deletions

View file

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