Visualization for abilene
diff --git a/examples/abilene-topology.cc b/examples/abilene-topology.cc
index 99da7eb..a8ba422 100644
--- a/examples/abilene-topology.cc
+++ b/examples/abilene-topology.cc
@@ -80,7 +80,7 @@
NetDeviceContainer* ndc = new NetDeviceContainer[totlinks];
reader->ApplySettings(ndc,nc);
- reader->BoundingBox(nc, 100.0, 100.0, 400.0,400.0);
+ reader->BoundingBox(nc, 100.0, 100.0, 5000.0,5000.0);
// Install CCNx stack
NS_LOG_INFO ("Installing CCNx stack");
diff --git a/examples/abilene-topology.txt b/examples/abilene-topology.txt
index 5063137..6ce358c 100644
--- a/examples/abilene-topology.txt
+++ b/examples/abilene-topology.txt
@@ -1,16 +1,16 @@
12 15
-1 2 9920000 1 1 100 100 116 34 116 34
-2 5 9920000 1176 1 100 100 116 34 104 30
-2 6 2480000 587 1 100 100 116 34 114 40
-2 12 9920000 846 1 100 100 116 34 123 39
-3 6 9920000 260 1 100 100 112 42 114 40
-3 9 9920000 700 1 100 100 112 42 126 41
-4 7 9920000 639 1 100 100 95 41 103 39
-4 10 9920000 1295 1 100 100 95 41 78 37
-4 11 9920000 2095 1 100 100 95 41 78 48
-5 7 9920000 902 1 100 100 104 30 103 39
-5 8 9920000 1893 1 100 100 104 30 82 34
-6 7 9920000 548 1 100 100 114 40 103 39
-8 10 9920000 366 1 100 100 82 34 78 37
-9 12 9920000 233 1 100 100 126 41 123 39
-10 11 9920000 861 1 100 100 78 37 78 48
+1 2 9920000 1 1 100 100 84 34 84 34
+2 5 9920000 1176 1 100 100 84 34 96 30
+2 6 2480000 587 1 100 100 84 34 86 40
+2 12 9920000 846 1 100 100 84 34 77 39
+3 6 9920000 260 1 100 100 88 42 86 40
+3 9 9920000 700 1 100 100 88 42 74 41
+4 7 9920000 639 1 100 100 105 41 97 39
+4 10 9920000 1295 1 100 100 105 41 122 37
+4 11 9920000 2095 1 100 100 105 41 122 48
+5 7 9920000 902 1 100 100 96 30 97 39
+5 8 9920000 1893 1 100 100 96 30 118 34
+6 7 9920000 548 1 100 100 86 40 97 39
+8 10 9920000 366 1 100 100 118 34 122 37
+9 12 9920000 233 1 100 100 74 41 77 39
+10 11 9920000 861 1 100 100 122 37 122 48
\ No newline at end of file
diff --git a/model/annotated-topology-reader.cc b/model/annotated-topology-reader.cc
index d8bbc7e..51fadfe 100644
--- a/model/annotated-topology-reader.cc
+++ b/model/annotated-topology-reader.cc
@@ -501,8 +501,8 @@
nd->AggregateObject (loc);
}
- x = x1; //randX.GetValue();
- y = y1; //randY.GetValue();
+ x = -x1; //randX.GetValue();
+ y = -y1; //randY.GetValue();
NS_LOG_INFO("X = "<<x <<"Y = "<<y);
Vector locVec (x, y, 0);
loc->SetPosition (locVec);
@@ -515,8 +515,8 @@
nd2->AggregateObject (loc2);
}
- x = x2; //randX.GetValue();
- y = y2; //randY.GetValue();
+ x = -x2; //randX.GetValue();
+ y = -y2; //randY.GetValue();
NS_LOG_INFO("X = "<<x <<"Y = "<<y);
Vector locVec2 (x, y, 0);
loc2->SetPosition (locVec2);