Graph<num> class

Available Extensions

Constructors

Graph(int nodesCount, bool isOriented)
Graph.def(bool isOriented)

Properties

edgeLenght int
no setter
edges Iterable<Edge<num>>
no setter
hashCode int
The hash code for this object.
no setterinherited
isOriented bool
latefinal
lenght int
no setter
nodes Iterable<Node<num>>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addNode(dynamic value) → void
connect(Node<num> node1, Node<num> node2, num edgeValue) Edge<num>
disconect(Edge<num> edge) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeNode(dynamic value) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int index) Node<num>

Static Methods

makeGraph<num>(List<Tuple<Node<num>, Node<num>>> incidentNodes, List<num> values, {bool isOriented = false}) Graph<num>