DesiredState<T extends State> class
abstract
Like State, but it doesn't need to have all the facts and when computing distance, it only takes into account the facts that it has.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getHeuristicDistanceFrom(
T node, {FindPathParams< Action< ? params}) → numState> > -
Returns the heuristic distance from
node
to the goal.inherited -
match(
T node) → bool? -
Returns
true
whennode
matches the goal.inherited -
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