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

Package class diagram package UT2004PFMap
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.agent.navigation.astar.UT2004PFMap
All Implemented Interfaces:
cz.cuni.amis.pathfinding.map.IPFKnownMap<NavPoint>, cz.cuni.amis.pathfinding.map.IPFMap<NavPoint>

public class UT2004PFMap
extends Object
implements cz.cuni.amis.pathfinding.map.IPFKnownMap<NavPoint>


Constructor Summary
UT2004PFMap(IWorldView worldView)
           
 
Method Summary
 int getArcCost(NavPoint nodeFrom, NavPoint nodeTo)
           
 Collection<NavPoint> getNeighbors(NavPoint node)
           
 int getNodeCost(NavPoint node)
           
 Collection<NavPoint> getNodes()
           
 void mapChanged()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UT2004PFMap

public UT2004PFMap(IWorldView worldView)
Method Detail

getNodeCost

public int getNodeCost(NavPoint node)
Specified by:
getNodeCost in interface cz.cuni.amis.pathfinding.map.IPFMap<NavPoint>

getNeighbors

public Collection<NavPoint> getNeighbors(NavPoint node)
Specified by:
getNeighbors in interface cz.cuni.amis.pathfinding.map.IPFMap<NavPoint>

getArcCost

public int getArcCost(NavPoint nodeFrom,
                      NavPoint nodeTo)
Specified by:
getArcCost in interface cz.cuni.amis.pathfinding.map.IPFMap<NavPoint>

getNodes

public Collection<NavPoint> getNodes()
Specified by:
getNodes in interface cz.cuni.amis.pathfinding.map.IPFKnownMap<NavPoint>

mapChanged

public void mapChanged()


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