ansimtrace.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!-- Sample mobility file in he ANSim ad-hoc simulation tool's format -->
  2. <simulation>
  3. <parameter>
  4. <!-- the DTD requires some stuff to be put here, but MF's ANSimMobility will ignore it -->
  5. </parameter>
  6. <node_settings/>
  7. <mobility>
  8. <position_change>
  9. <node_id>0</node_id>
  10. <start_time>0</start_time>
  11. <end_time>10</end_time>
  12. <destination><xpos>50</xpos><ypos>50</ypos></destination>
  13. </position_change>
  14. <position_change>
  15. <node_id>0</node_id>
  16. <start_time>10</start_time>
  17. <end_time>20</end_time>
  18. <destination><xpos>100</xpos><ypos>100</ypos></destination>
  19. </position_change>
  20. <position_change>
  21. <node_id>1</node_id>
  22. <start_time>0</start_time>
  23. <end_time>10</end_time>
  24. <destination><xpos>50</xpos><ypos>50</ypos></destination>
  25. </position_change>
  26. <position_change>
  27. <node_id>1</node_id>
  28. <start_time>10</start_time>
  29. <end_time>20</end_time>
  30. <destination><xpos>100</xpos><ypos>200</ypos></destination>
  31. </position_change>
  32. <position_change>
  33. <node_id>0</node_id>
  34. <start_time>20</start_time>
  35. <end_time>30</end_time>
  36. <destination><xpos>300</xpos><ypos>100</ypos></destination>
  37. </position_change>
  38. <position_change>
  39. <node_id>1</node_id>
  40. <start_time>20</start_time>
  41. <end_time>30</end_time>
  42. <destination><xpos>300</xpos><ypos>200</ypos></destination>
  43. </position_change>
  44. </mobility>
  45. </simulation>