|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pathfinding.alg.astar.AStar<NavPoint>
cz.cuni.amis.pogamut.ut2004.agent.navigation.astar.UT2004AStar
public class UT2004AStar
| Constructor Summary | |
|---|---|
UT2004AStar(UT2004Bot bot)
AStar configured with UT2004PFMap with no agent-specific view on the map, IPFMapView.DefaultView is used. |
|
UT2004AStar(UT2004Bot bot,
cz.cuni.amis.pathfinding.map.IPFMapView<NavPoint> view)
AStar configured with UT2004PFMap with no agent-specific view on the map, IPFMapView.DefaultView is used. |
|
UT2004AStar(UT2004PFMap map)
AStar configured with "map" with no agent-specific view on the map, IPFMapView.DefaultView is used. |
|
UT2004AStar(UT2004PFMap map,
cz.cuni.amis.pathfinding.map.IPFMapView<NavPoint> view)
AStar configured with "map" and agent-specific view on the map, if "view" is null, IPFMapView.DefaultView is going to be used. |
|
| Method Summary | |
|---|---|
IPathFuture<NavPoint> |
computePath(NavPoint from,
NavPoint to)
Using findPath(NavPoint, NavPoint) to implement IPathPlanner.computePath(Object, Object) interface. |
cz.cuni.amis.pathfinding.alg.astar.AStarResult<NavPoint> |
findPath(NavPoint from,
NavPoint to)
Uses UT2004PFGoal to define START-NODE (from) and TARGET-NODE (to) for the A-Star, using
standard 3D-Euclidian heuristic. |
cz.cuni.amis.pathfinding.alg.astar.AStarResult<NavPoint> |
findPath(NavPoint from,
NavPoint to,
cz.cuni.amis.pathfinding.map.IPFMapView<NavPoint> mapView)
Uses UT2004PFGoal to define START-NODE (from) and TARGET-NODE (to) for the A-Star, using
standard 3D-Euclidian heuristic and customized 'mapView'. |
double |
getDistance(NavPoint from,
NavPoint to)
|
UT2004PFMap |
getMap()
|
void |
mapChanged()
Call to wipe cached info about the map, e.g., whenever UT2004PathAutoFixer bans some navpoint or you use NavigationGraphBuilder, etc. |
| Methods inherited from class cz.cuni.amis.pathfinding.alg.astar.AStar |
|---|
findPath, findPath, findPath, getMapView, setMap, setMapView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UT2004AStar(UT2004Bot bot)
UT2004PFMap with no agent-specific view on the map, IPFMapView.DefaultView is used.
map -
public UT2004AStar(UT2004Bot bot,
cz.cuni.amis.pathfinding.map.IPFMapView<NavPoint> view)
UT2004PFMap with no agent-specific view on the map, IPFMapView.DefaultView is used.
map - public UT2004AStar(UT2004PFMap map)
IPFMapView.DefaultView is used.
map -
public UT2004AStar(UT2004PFMap map,
cz.cuni.amis.pathfinding.map.IPFMapView<NavPoint> view)
IPFMapView.DefaultView is going to be used.
map - view - may be null| Method Detail |
|---|
public UT2004PFMap getMap()
getMap in class cz.cuni.amis.pathfinding.alg.astar.AStar<NavPoint>
public cz.cuni.amis.pathfinding.alg.astar.AStarResult<NavPoint> findPath(NavPoint from,
NavPoint to,
cz.cuni.amis.pathfinding.map.IPFMapView<NavPoint> mapView)
UT2004PFGoal to define START-NODE (from) and TARGET-NODE (to) for the A-Star, using
standard 3D-Euclidian heuristic and customized 'mapView'.
from - to -
public IPathFuture<NavPoint> computePath(NavPoint from,
NavPoint to)
findPath(NavPoint, NavPoint) to implement IPathPlanner.computePath(Object, Object) interface.
computePath in interface IPathPlanner<NavPoint>
public double getDistance(NavPoint from,
NavPoint to)
getDistance in interface IPathPlanner<NavPoint>
public cz.cuni.amis.pathfinding.alg.astar.AStarResult<NavPoint> findPath(NavPoint from,
NavPoint to)
UT2004PFGoal to define START-NODE (from) and TARGET-NODE (to) for the A-Star, using
standard 3D-Euclidian heuristic.
from - to -
public void mapChanged()
UT2004PathAutoFixer bans some navpoint or you use NavigationGraphBuilder, etc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||