Path<V, E> class

A path withing a graph connects a series of vertices through their respective edges and values.

Mixed in types
Available Extensions

Constructors

Path.fromEdges(Iterable<Edge<V, E>> edges)
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

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