E - the node type used in the searchAreaT - the type used to hold all the nodespublic abstract class AbstractPathfinder<E,T> extends java.lang.Object implements Pathfinder<E,T>
| Constructor and Description |
|---|
AbstractPathfinder() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<E> |
findPath(T searchArea,
E start,
E dest)
Generates a list of nodes of type E holding the path.
|
public abstract java.util.List<E> findPath(T searchArea, E start, E dest)
findPath in interface Pathfinder<E,T>searchArea - the space that is used in the path searchstart - the start nodedest - the end node