183
edits
Line 197: | Line 197: | ||
== Implementation Notes == | == Implementation Notes == | ||
The groundnet information is stored in a graph data structure. | |||
For simplification, the coordinates are projected to a 2D xy coordinate system, where all calculations are executed (The projection currently is a too simple linear projection). | |||
Moving of vehicles is implemented by first finding a path along the graph (Graph.findPath()), which is quite simple due to Edsger Dijkstras preliminary work. The vehicles will move along | Moving of vehicles is implemented by first finding a path along the graph (Graph.findPath()), which is quite simple due to Edsger Dijkstras preliminary work. The vehicles will move along | ||
their defined path like a train on rails. They will allways be fixed at some specific position on some edge (class GraphPosition). | their defined path like a train on rails. They will allways be fixed at some specific position on some edge (class GraphPosition). |
edits