cz.cuni.amis.pogamut.ut2004.agent.navigation.astar
Class UT2004AStarMap

Package class diagram package UT2004AStarMap
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
      extended by cz.cuni.amis.pogamut.base.agent.module.SensorModule<IObservingAgent>
          extended by cz.cuni.amis.pogamut.ut2004.agent.navigation.astar.UT2004AStarMap
All Implemented Interfaces:
IComponent, cz.cuni.amis.utils.astar.AStarMap<NavPoint>

public class UT2004AStarMap
extends SensorModule<IObservingAgent>
implements cz.cuni.amis.utils.astar.AStarMap<NavPoint>


Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensorModule
worldView
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
agent, controller, eventBus, log
 
Constructor Summary
UT2004AStarMap(IObservingAgent agent)
           
 
Method Summary
protected  void cleanUp()
           
 int getEdgeCost(NavPoint nodeFrom, NavPoint nodeTo)
           
 int getNodeCost(NavPoint node)
           
 Collection<NavPoint> getNodeNeighbours(NavPoint node)
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule
getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UT2004AStarMap

public UT2004AStarMap(IObservingAgent agent)
Method Detail

cleanUp

protected void cleanUp()
Overrides:
cleanUp in class AgentModule<IObservingAgent>

getEdgeCost

public int getEdgeCost(NavPoint nodeFrom,
                       NavPoint nodeTo)
Specified by:
getEdgeCost in interface cz.cuni.amis.utils.astar.AStarMap<NavPoint>

getNodeNeighbours

public Collection<NavPoint> getNodeNeighbours(NavPoint node)
Specified by:
getNodeNeighbours in interface cz.cuni.amis.utils.astar.AStarMap<NavPoint>

getNodeCost

public int getNodeCost(NavPoint node)
Specified by:
getNodeCost in interface cz.cuni.amis.utils.astar.AStarMap<NavPoint>


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.