A utility for capturing events during a graph traversal or pathfinding.
- Implementers
Constructors
- Tracer()
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
-
chain(
Tracer< E> other) → Tracer<E> - Returns a Tracer that chains this Tracer with another Tracer.
-
clear(
) → void - Clears all recorded events.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onSkip(
E node) → void -
Called when a
node
is skipped. -
onVisit(
E node) → void -
Called when a
node
is visited. -
pushScalar(
TraceKey key, double value) → void - Adds a scalar value to the trace.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited