Path<V, E> class
- Mixed-in types
- Available extensions
Constructors
-
Path.fromEdges(Iterable<
Edge< edges)V, E> > - Constructs a path from an iterable of Edge instances.
-
Path.fromVertices(Iterable<
V> vertices, {Iterable<E> ? values}) - Constructs a path from an iterable of vertices and corresponding values.
Properties
- cost → num
-
Available on Path<
Computes the sum of all values along the edges of this path.V, num> , provided by the NumericPathExtension extensionno setter - defaultToStringPrinter → ObjectPrinter
-
Override to configure the empty ObjectPrinter.
no setterinherited
-
edges
→ Iterable<
Edge< V, E> > -
The edges on this path.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → V
-
The start vertex of this path.
no setter
- target → V
-
The end vertex of this path.
no setter
- toStringPrinter → ObjectPrinter
-
Override and call super to add values to the ObjectPrinter.
no setteroverride
-
values
→ List<
E> -
The values on this path.
final
-
vertices
→ List<
V> -
The vertices on this path.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Standard
toString
implementation. Do not override, instead implement toStringPrinter to customize.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override