cad.simcad.pathfinding.astar
Class AStarForProduction

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--cad.simcad.pathfinding.astar.AStarAlgo
              |
              +--cad.simcad.pathfinding.astar.AStarForProduction
All Implemented Interfaces:
PathFinder, java.lang.Runnable

public class AStarForProduction
extends AStarAlgo

Version:
1.0
Author:
Charles-Philip Bentley

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
AStarForProduction(PathFindable map, Path cp)
          Creates new AStarForProduction
AStarForProduction(PathFindable map, Path cp, AlgoProperties ap)
          Creates new AStarForProduction
 
Method Summary
 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
 

Field Detail

_heurFactor

protected double _heurFactor
Constructor Detail

AStarForProduction

public AStarForProduction(PathFindable map,
                          Path cp,
                          AlgoProperties ap)
Creates new AStarForProduction


AStarForProduction

public AStarForProduction(PathFindable map,
                          Path cp)
Creates new AStarForProduction

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Specified by:
run in class AStarAlgo

step

protected void step()

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be