A C D F G L N P R S

A

abort() - Method in class com.cuspy.pathfinder.AbstractPathFinder
 
abort() - Method in interface com.cuspy.pathfinder.PathFinder
Abort the current path search.
aborted - Variable in class com.cuspy.pathfinder.AbstractPathFinder
 
AbstractPathFinder - class com.cuspy.pathfinder.AbstractPathFinder.
Basic functionality of path finders.
AbstractPathFinder(Node, Collection) - Constructor for class com.cuspy.pathfinder.AbstractPathFinder
Create a new PathFinder.
AbstractPathFinder(Node, Node) - Constructor for class com.cuspy.pathfinder.AbstractPathFinder
Create a new PathFinder.
addPathListener(PathListener) - Method in class com.cuspy.pathfinder.AbstractPathFinder
 
addPathListener(PathListener) - Method in interface com.cuspy.pathfinder.PathFinder
Add a listener for PathEvents.
AStar - class com.cuspy.pathfinder.AStar.
An implementation of the A* path finding algorithm.
AStar(Node, Collection) - Constructor for class com.cuspy.pathfinder.AStar
 
AStar(Node, Node) - Constructor for class com.cuspy.pathfinder.AStar
 

C

com.cuspy.pathfinder - package com.cuspy.pathfinder
 
considered(PathEvent) - Method in interface com.cuspy.pathfinder.PathListener
Called when a new path is being considered.

D

DepthFirstSearch - class com.cuspy.pathfinder.DepthFirstSearch.
An implementation of the Depth First Search path finding algorithm.
DepthFirstSearch(Node, Collection) - Constructor for class com.cuspy.pathfinder.DepthFirstSearch
 
DepthFirstSearch(Node, Node) - Constructor for class com.cuspy.pathfinder.DepthFirstSearch
 
done(PathEvent) - Method in interface com.cuspy.pathfinder.PathListener
Called when the PathFinder is done.

F

findPath() - Method in class com.cuspy.pathfinder.DepthFirstSearch
 
findPath() - Method in interface com.cuspy.pathfinder.PathFinder
Find a path between the start and the goal Nodes.
findPath() - Method in class com.cuspy.pathfinder.AStar
 
fireConsidered() - Method in class com.cuspy.pathfinder.AbstractPathFinder
 

G

getConsideredPath() - Method in class com.cuspy.pathfinder.DepthFirstSearch
 
getConsideredPath() - Method in interface com.cuspy.pathfinder.PathFinder
Get the path currently being considered.
getConsideredPath() - Method in class com.cuspy.pathfinder.AStar
 
getNeighbors() - Method in interface com.cuspy.pathfinder.Node
Returns the neighbors of this node in the form of a Collection.
getPath() - Method in class com.cuspy.pathfinder.PathEvent
Returns the path related to this event.
getPathCostEstimate(Node) - Method in interface com.cuspy.pathfinder.Node
Returns the estimate of the cost to get from this node to the goal node.
getTraverseCost(Node) - Method in interface com.cuspy.pathfinder.Node
Returns the cost to get from this node to the dest node.
goals - Variable in class com.cuspy.pathfinder.AbstractPathFinder
 

L

listeners - Variable in class com.cuspy.pathfinder.AbstractPathFinder
 

N

Node - interface com.cuspy.pathfinder.Node.
The Node interface must be implemented by classes that want a PathFinder to find paths over them.

P

PathEvent - class com.cuspy.pathfinder.PathEvent.
An encapsulation of the data describing an event related to a PathFinder.
PathEvent(Object, List) - Constructor for class com.cuspy.pathfinder.PathEvent
Create a new PathEvent.
PathFinder - interface com.cuspy.pathfinder.PathFinder.
The PathFinder interface is implemented by classes that provide a mechanism to find routes between nodes.
PathListener - interface com.cuspy.pathfinder.PathListener.
Classes that want to know about path finding events must implement the PathListener interface.

R

removePathListener(PathListener) - Method in class com.cuspy.pathfinder.AbstractPathFinder
 
removePathListener(PathListener) - Method in interface com.cuspy.pathfinder.PathFinder
Remove a listener for PathEvents.
run() - Method in class com.cuspy.pathfinder.AbstractPathFinder
Execute the path finding algorithm.

S

start - Variable in class com.cuspy.pathfinder.AbstractPathFinder
 

A C D F G L N P R S