diff --git a/algorithm/AODV.java b/algorithm/AODV.java new file mode 100644 index 0000000..233c918 --- /dev/null +++ b/algorithm/AODV.java @@ -0,0 +1,7 @@ +package algorithm; + + + +public class AODV{ + +} \ No newline at end of file diff --git a/main/Main.java b/main/Main.java index bb17555..64a8858 100644 --- a/main/Main.java +++ b/main/Main.java @@ -1,8 +1,21 @@ package main; +import org.graphstream.graph.*; +import org.graphstream.graph.implementations.*; + + public class Main { public static void main(String[] args) { - // TODO Auto-generated method stub + Graph graph = new SingleGraph("Tutorial 1"); + + graph.addNode("A"); + graph.addNode("B"); + graph.addNode("C"); + graph.addEdge("AB", "A", "B"); + graph.addEdge("BC", "B", "C"); + graph.addEdge("CA", "C", "A"); + + graph.display(); } } diff --git a/structure/Grid.java b/structure/Grid.java new file mode 100644 index 0000000..cdf21f4 --- /dev/null +++ b/structure/Grid.java @@ -0,0 +1,5 @@ +package structure; + +public class Grid { + +}