Permalink
Browse files

ouch

  • Loading branch information...
1 parent b155222 commit cb6d7a14ed1596af20b39cdc862d680b0505bb5d @pigne committed Apr 1, 2012
Showing with 114 additions and 1,862,320 deletions.
  1. +12 −0 .classpath
  2. +0 −3 .gitignore
  3. +17 −0 .project
  4. BIN bin/lu/uni/routegeneration/evaluation/ApproximativeEvaluation$1.class
  5. BIN bin/lu/uni/routegeneration/evaluation/ApproximativeEvaluation$2.class
  6. BIN bin/lu/uni/routegeneration/evaluation/ApproximativeEvaluation.class
  7. BIN bin/lu/uni/routegeneration/evaluation/Detector.class
  8. BIN bin/lu/uni/routegeneration/evaluation/RealEvaluation$CLoopHandler.class
  9. BIN bin/lu/uni/routegeneration/evaluation/RealEvaluation.class
  10. BIN bin/lu/uni/routegeneration/evaluation/SumoEvaluation$Detector.class
  11. BIN bin/lu/uni/routegeneration/evaluation/SumoEvaluation$E1Handler.class
  12. BIN bin/lu/uni/routegeneration/evaluation/SumoEvaluation.class
  13. BIN bin/lu/uni/routegeneration/generation/Area.class
  14. BIN bin/lu/uni/routegeneration/generation/Flow.class
  15. BIN bin/lu/uni/routegeneration/generation/Lane.class
  16. BIN bin/lu/uni/routegeneration/generation/Loop.class
  17. BIN bin/lu/uni/routegeneration/generation/RouteGeneration$1.class
  18. BIN bin/lu/uni/routegeneration/generation/RouteGeneration$1AreasHandler.class
  19. BIN bin/lu/uni/routegeneration/generation/RouteGeneration$1OSMHandler.class
  20. BIN bin/lu/uni/routegeneration/generation/RouteGeneration$2.class
  21. BIN bin/lu/uni/routegeneration/generation/RouteGeneration$3.class
  22. BIN bin/lu/uni/routegeneration/generation/RouteGeneration.class
  23. BIN bin/lu/uni/routegeneration/generation/SumoNetworkToDGS.class
  24. BIN bin/lu/uni/routegeneration/generation/VType.class
  25. BIN bin/lu/uni/routegeneration/generation/Zone.class
  26. BIN bin/lu/uni/routegeneration/generation/ZoneType.class
  27. BIN bin/lu/uni/routegeneration/jCell/RouteGeneLaunch.class
  28. BIN bin/lu/uni/routegeneration/jCell/RouteGenerationProblem.class
  29. BIN bin/lu/uni/routegeneration/net/ClientTest.class
  30. BIN bin/lu/uni/routegeneration/net/Constants.class
  31. BIN bin/lu/uni/routegeneration/net/RGServer.class
  32. +30 −0 bin/lu/uni/routegeneration/net/clientTest.py
  33. +55 −0 bin/lu/uni/routegeneration/net/constants.py
  34. BIN bin/lu/uni/routegeneration/ui/AreasEditor.class
  35. BIN bin/lu/uni/routegeneration/ui/EditorPanel.class
  36. BIN bin/lu/uni/routegeneration/ui/UIMemoryPanel.class
  37. BIN lib/gs-algo.jar
  38. BIN lib/gs-core.jar
  39. BIN lib/jmapprojlib.jar
  40. BIN lib/mbox2.jar
  41. BIN lib/util.jar
  42. BIN lib/xercesImpl.jar
  43. BIN tests/Kirchberg.zip
  44. +0 −13 tests/LuxembourgVille/LuxembourgVille.approx_eval.log
  45. +0 −8 tests/LuxembourgVille/LuxembourgVille.areas.xml
  46. +0 −341 tests/LuxembourgVille/LuxembourgVille.control.xml
  47. +0 −192,003 tests/LuxembourgVille/LuxembourgVille.dgs
  48. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.1429_0.xml
  49. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.1429_1.xml
  50. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.1431_0.xml
  51. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.1431_1.xml
  52. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.1431_2.xml
  53. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.400_0.xml
  54. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.400_1.xml
  55. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.401_0.xml
  56. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.401_1.xml
  57. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.403_0.xml
  58. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.403_1.xml
  59. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.404_0.xml
  60. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.404_1.xml
  61. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.407_0.xml
  62. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.407_1.xml
  63. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.412_0.xml
  64. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.412_1.xml
  65. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.413_0.xml
  66. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.413_1.xml
  67. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.415_0.xml
  68. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.415_1.xml
  69. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.416_0.xml
  70. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.416_1.xml
  71. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.420_0.xml
  72. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.420_1.xml
  73. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.432_0.xml
  74. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.432_1.xml
  75. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.433_0.xml
  76. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.433_1.xml
  77. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.445_0.xml
  78. +0 −31 tests/LuxembourgVille/LuxembourgVille.e1.445_1.xml
  79. +0 −34 tests/LuxembourgVille/LuxembourgVille.e1.xml
  80. +0 −395 tests/LuxembourgVille/LuxembourgVille.loop.xml
  81. +0 −13 tests/LuxembourgVille/LuxembourgVille.measure.log
  82. +0 −457,555 tests/LuxembourgVille/LuxembourgVille.net.xml
  83. +0 −13 tests/LuxembourgVille/LuxembourgVille.real_eval.log
  84. +0 −466,716 tests/LuxembourgVille/LuxembourgVille.rou.xml
  85. +0 −7,024 tests/LuxembourgVille/LuxembourgVille.shapes.xml
  86. +0 −22 tests/LuxembourgVille/LuxembourgVille.sumo.cfg
  87. +0 −13 tests/LuxembourgVille/LuxembourgVille.sumo_eval.log
  88. +0 −9 tests/LuxembourgVille/LuxembourgVille.veh.xml
  89. +0 −37,627 tests/LuxembourgVille/LuxembourgVille0x0.osm.xml
  90. +0 −27,662 tests/LuxembourgVille/LuxembourgVille0x1.osm.xml
  91. +0 −19,478 tests/LuxembourgVille/LuxembourgVille0x2.osm.xml
  92. +0 −18,312 tests/LuxembourgVille/LuxembourgVille0x3.osm.xml
  93. +0 −24,631 tests/LuxembourgVille/LuxembourgVille0x4.osm.xml
  94. +0 −34,742 tests/LuxembourgVille/LuxembourgVille1x0.osm.xml
  95. +0 −41,759 tests/LuxembourgVille/LuxembourgVille1x1.osm.xml
  96. +0 −46,393 tests/LuxembourgVille/LuxembourgVille1x2.osm.xml
  97. +0 −14,607 tests/LuxembourgVille/LuxembourgVille1x3.osm.xml
  98. +0 −23,723 tests/LuxembourgVille/LuxembourgVille1x4.osm.xml
  99. +0 −29,409 tests/LuxembourgVille/LuxembourgVille2x0.osm.xml
  100. +0 −54,392 tests/LuxembourgVille/LuxembourgVille2x1.osm.xml
  101. +0 −77,205 tests/LuxembourgVille/LuxembourgVille2x2.osm.xml
  102. +0 −19,999 tests/LuxembourgVille/LuxembourgVille2x3.osm.xml
  103. +0 −19,286 tests/LuxembourgVille/LuxembourgVille2x4.osm.xml
  104. +0 −30,531 tests/LuxembourgVille/LuxembourgVille3x0.osm.xml
  105. +0 −32,217 tests/LuxembourgVille/LuxembourgVille3x1.osm.xml
  106. +0 −30,222 tests/LuxembourgVille/LuxembourgVille3x2.osm.xml
  107. +0 −24,798 tests/LuxembourgVille/LuxembourgVille3x3.osm.xml
  108. +0 −19,561 tests/LuxembourgVille/LuxembourgVille3x4.osm.xml
  109. +0 −22,724 tests/LuxembourgVille/LuxembourgVille4x0.osm.xml
  110. +0 −33,008 tests/LuxembourgVille/LuxembourgVille4x1.osm.xml
  111. +0 −25,383 tests/LuxembourgVille/LuxembourgVille4x2.osm.xml
  112. +0 −19,581 tests/LuxembourgVille/LuxembourgVille4x3.osm.xml
  113. +0 −9,880 tests/LuxembourgVille/LuxembourgVille4x4.osm.xml
  114. +0 −17 tests/LuxembourgVille/control.txt
  115. +0 −13 tests/LuxembourgVille/edges.txt
  116. +0 −2 tests/LuxembourgVille/kirchberg.shapes.xml
  117. +0 −1 tests/LuxembourgVille/polyconvert.sh
  118. +0 −34 tests/LuxembourgVille/typesmap.xml
View
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="lib" path="lib/jmapprojlib.jar"/>
+ <classpathentry kind="lib" path="lib/xercesImpl.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="lib/gs-deps.jar"/>
+ <classpathentry kind="lib" path="lib/jCell.jar"/>
+ <classpathentry kind="lib" path="lib/gs-algo.jar"/>
+ <classpathentry kind="lib" path="lib/gs-core.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
View
@@ -1,3 +0,0 @@
-.project
-.classpath
-bin/
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>VehILux</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,30 @@
+import socket
+import struct
+
+FITNESS_CMD=0x10
+TYPE_INT_ARRAY=0x51
+
+HOST = 'localhost'
+PORT = 4444
+
+s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+s.connect((HOST, PORT))
+
+
+i=0
+while i< 100:
+ i=i+1
+ params=[1, 3, 5, 7]
+ msg=""
+ msg= struct.pack("!BBh", FITNESS_CMD, TYPE_INT_ARRAY, len(params))
+ for p in params:
+ msg = msg + struct.pack("!i", p)
+
+ s.send(msg)
+ #responce
+ data = s.recv(4)
+ fitness = struct.unpack('!i', data)[0]
+ print 'Received', fitness
+
+
+s.close()
@@ -0,0 +1,55 @@
+"""
+
+ @file constants.py
+
+ @date Jun 10, 2011
+
+ @author Yoann Pigné
+
+ Copyright = (c) 2011 University of Luxembourg
+
+"""
+
+
+
+# ****************************************
+# COMMANDS
+# ****************************************
+# command: get version
+CMD_GETVERSION = 0x00
+
+CMD_START = 0x01
+CMD_END = 0x02
+
+CMD_FITNESS = 0x20
+
+
+#GS commands idea...
+CMD_STEP = 0x20
+CMD_ADD_GRAPH = 0x21
+CMD_CHANGE_GRAPH = 0x22
+CMD_DELETE_GRAPH = 0x23
+CMD_ADD_NODE = 0x24
+CMD_CHANGE_NODE = 0x25
+CMD_DELETE_NODE = 0x26
+CMD_ADD_EDGE = 0x27
+CMD_CHANGE_EDGE = 0x28
+CMD_DELETE_EDGE =0x29
+
+
+
+# ****************************************
+# Values types
+# ****************************************
+
+
+
+# Values types
+TYPE_INT = 0xa0
+TYPE_INT_ARRAY = 0xa1 # followed by a 2-bytes int length
+TYPE_DOUBLE = 0xa2
+TYPE_DOUBLE_ARRAY = 0xa3
+TYPE_STRING = 0xa4
+TYPE_STRING_ARRAY = 0xa5
+TYPE_RAW = 0xa6
+TYPE_COMPOUND = 0xa7
Binary file not shown.
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
@@ -1,13 +0,0 @@
-time 401 403 1431 433 432 404 1429 445 400 407 412 420 413 416 415
-1 23 13 196 69 13 0 120 32 83 8 13 17 38 29 34
-2 13 9 165 58 13 0 88 30 61 8 9 14 14 24 28
-3 10 10 153 47 11 0 96 25 58 5 7 11 14 27 22
-4 17 13 169 62 12 0 100 28 76 7 10 12 11 21 24
-5 27 10 284 117 21 2 184 39 134 13 17 26 17 31 23
-6 84 59 894 367 45 2 531 136 384 39 59 87 79 84 103
-7 255 158 2929 1208 163 3 1605 561 1145 113 171 232 235 325 324
-8 402 274 4695 2025 240 5 2583 749 1825 180 238 354 382 485 532
-9 387 242 4031 1736 247 9 2360 693 1689 154 276 370 387 460 505
-10 270 175 2332 1111 188 7 1481 539 1092 108 173 247 242 327 338
-11 193 129 1743 862 133 6 1156 336 889 80 160 220 226 298 319
-
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<areas residential_proba="5" commercial_proba="80" industrial_proba="15">
-<area id="1" type="COMMERCIAL" x="20418" y="14500" radius="1500" probability="10"/>
-<area id="2" type="COMMERCIAL" x="22400" y="16700" radius="1500" probability="15"/>
-<area id="3" type="COMMERCIAL" x="17000" y="15200" radius="1000" probability="5"/>
-<area id="4" type="INDUSTRIAL" x="20300" y="14000" radius="6000" probability="10"/>
-<area id="5" type="RESIDENTIAL" x="19900" y="14500" radius="3400" probability="5"/>
-</areas>
Oops, something went wrong.

0 comments on commit cb6d7a1

Please sign in to comment.