com.croftsoft.core.ai.astar
Class AStar

java.lang.Object
  extended by com.croftsoft.core.ai.astar.AStar

public final class AStar
extends Object

The A* algorithm.

Since:
2002-04-21
Version:
2003-05-09
Author:
David Wallace Croft

Constructor Summary
AStar(Cartographer cartographer)
           
 
Method Summary
 Object getFirstStep()
           
 Iterator getPath()
           
 boolean isGoalFound()
           
 boolean isListEmpty()
           
 boolean loop()
           
 void reset(Object startNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AStar

public AStar(Cartographer cartographer)
Method Detail

isGoalFound

public boolean isGoalFound()

isListEmpty

public boolean isListEmpty()

getPath

public Iterator getPath()

getFirstStep

public Object getFirstStep()

reset

public void reset(Object startNode)

loop

public boolean loop()

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)