Uses of Class
movement.map.MapNode

Packages that use MapNode
input Provides interfaces and classes for reading input data from external sources. 
movement Contains different movement models and related classes for the simulator. 
movement.map Sub package for MapBasedMovement movement model's (and its sub classes) helper classes. 
 

Uses of MapNode in input
 

Methods in input that return types with arguments of type MapNode
 java.util.Collection<MapNode> WKTMapReader.getNodes()
          Returns the map nodes that were read in a collection
 java.util.Map<Coord,MapNode> WKTMapReader.getNodesHash()
          Returns the original Map object that was used to read the map
 

Uses of MapNode in movement
 

Fields in movement declared as MapNode
protected  MapNode MapBasedMovement.lastMapNode
          node where the last path ended or node next to intial placement
 

Methods in movement that return MapNode
protected  MapNode MapBasedMovement.selectRandomOkNode(java.util.List<MapNode> nodes)
          Selects and returns a random node that is OK from a list of nodes.
 

Method parameters in movement with type arguments of type MapNode
protected  MapNode MapBasedMovement.selectRandomOkNode(java.util.List<MapNode> nodes)
          Selects and returns a random node that is OK from a list of nodes.
 

Uses of MapNode in movement.map
 

Methods in movement.map that return MapNode
 MapNode SimMap.getNodeByCoord(Coord c)
          Returns a MapNode at given coordinates or null if there's no MapNode in the location of the coordinate
 MapNode MapRoute.nextStop()
          Returns the next stop on the route (depenging on the route mode)
 MapNode PointsOfInterest.selectDestination()
          Selects a random destination from POIs or all MapNodes.
 

Methods in movement.map that return types with arguments of type MapNode
 java.util.List<MapNode> MapNode.getNeighbors()
          Returns the neighbors of this node.
 java.util.List<MapNode> SimMap.getNodes()
          Returns all the map nodes in a list
 java.util.List<MapNode> DijkstraPathFinder.getShortestPath(MapNode from, MapNode to)
          Finds and returns a shortest path between two map nodes
 

Methods in movement.map with parameters of type MapNode
 void MapNode.addNeighbor(MapNode node)
          Adds the node as this node's neighbour (unless the node is null)
 int MapNode.compareTo(MapNode o)
          Compares two map nodes by their coordinates
 java.util.List<MapNode> DijkstraPathFinder.getShortestPath(MapNode from, MapNode to)
          Finds and returns a shortest path between two map nodes
 

Constructor parameters in movement.map with type arguments of type MapNode
MapRoute(int type, java.util.List<MapNode> stops)
          Creates a new map route
SimMap(java.util.Map<Coord,MapNode> nodes)