AStar<T extends Node<T>> class

The A* Star algorithm itself. Instantiated with a Graph (e.g., a map).

Constructors

AStar(Graph<T> graph)

Properties

graph Graph<T>
final
hashCode int
The hash code for this object.
no setterinherited
noValidPath Queue<T>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findPath(T start, T goal) Future<Queue<T>>
Perform A* search from start to goal asynchronously.
findPathSync(T start, T goal) Queue<T>
Perform A* search from start to goal.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited