MinimumSpanningTreeResult<T> class

Result of minimum spanning tree algorithms

Constructors

MinimumSpanningTreeResult.new(List<GraphEdge<T>> edges, double totalWeight)
const

Properties

edges List<GraphEdge<T>>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalWeight double
final
vertices Set<T>
Get all vertices in the MST
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
spansAllVertices(int totalVertices) bool
Check if the MST spans all vertices
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited