|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--cad.simcad.pathfinding.astar.AStarAlgo | +--cad.simcad.pathfinding.astar.AStarSequential
Field Summary | |
protected double |
_heurFactor
|
Fields inherited from class cad.simcad.pathfinding.astar.AStarAlgo |
_algoType, _assoId, _closed, _cp, _finish, _loop, _mapTable, _myMap, _open, _pu, _rebuildingFudgeFactor, _start, _state, FOUND, NO_PATH, NOT_FOUND |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
AStarSequential(PathFindable map)
Creates a new instance of AStarSequential |
Method Summary | |
PathPlaceSet |
getClosestPathPlace(java.util.Map placesToUsers,
PathPlace dest)
Returns the closest |
void |
run()
|
protected void |
step()
|
Methods inherited from class cad.simcad.pathfinding.astar.AStarAlgo |
buildReferences, buildReferencesFudged, firePathComputation, firePathPlaceChange, getFudgedLowestAdjacent, getLowestAdjacent, getShortestPath, getShortestPath, isApplicable, isSequential |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface cad.simcad.objectserver.spec.pathfinding.PathFinder |
getShortestPath, getShortestPath, isSequential |
Field Detail |
protected double _heurFactor
Constructor Detail |
public AStarSequential(PathFindable map)
Method Detail |
public void run()
run
in interface java.lang.Runnable
run
in class AStarAlgo
protected void step()
public PathPlaceSet getClosestPathPlace(java.util.Map placesToUsers, PathPlace dest)
getClosestPathPlace
in interface APSSPathFinder
placesToUsers
- Map object that map PathPlace to PathUserdest
- The destinationPathPlaceSet
. Consisting of the best PathPlace with its PathUserPathUser
walking the Path.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |