Test
This commit is contained in:
parent
fa261c3042
commit
04c6618a68
2 changed files with 25 additions and 19 deletions
|
@ -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();
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue