GraphCrawler<T> class

Crawls a graph defined by edges and records every path from start to target. The result is available via the getter paths which returns a list with entries of type List<Vertex<T>.

Constructors

GraphCrawler({@required Edges<T> edges})

Properties

edges Edges<T>
Function returning a list of edge vertices or an empty list. It must never return null.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
paths(Vertex<T> start, Vertex<T> target) List<List<Vertex<T>>>
Returns all paths from start vertex to target vertex. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited