Provides constant-time access for successor and predecessor edges of a node.
The constructor is O(n + a ln(n))
Attributes
- Since:
v0.2.1
- Companion:
- object
- Graph
- Supertypes
- trait IndexedGraph[Node]trait Tuple2Digraph[Node]trait Digraph[Node]trait Graph[Node]class Objecttrait Matchableclass Any
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait InnerIndexedNodeTraittrait DigraphInnerNodeTraittrait InnerNodeTraitclass Objecttrait Matchableclass Any
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait DigraphInnerEdgeTraittrait InnerEdgeTraitclass Objecttrait Matchableclass Any
Inherited classlikes
Attributes
- Inherited from:
- Digraph
- Graph
- Supertypes
- Known subtypes
Attributes
- Inherited from:
- Digraph
- Graph
- Supertypes
- Known subtypes
An internal representation of edges within the graph
An internal representation of edges within the graph
Attributes
- Inherited from:
- Graph
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait DigraphInnerEdgeTraitclass InnerEdgetrait LabelDigraphEdgeTraitclass InnerEdgeclass InnerEdgetrait UndigraphInnerEdgeTraitclass InnerEdgeclass InnerEdge
An internal representation of nodes within the graph
An internal representation of nodes within the graph
Attributes
- Inherited from:
- IndexedGraph
- Graph
- Supertypes
- Known subtypes
An internal representation of nodes within the graph
An internal representation of nodes within the graph
Attributes
- Inherited from:
- Graph
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- trait DigraphInnerNodeTraitclass InNodeclass InnerNodeclass InnerNodetrait InnerIndexedNodeTraitclass InNodetrait UndigraphInnerNodeTraittrait InnerIndexedNodeTraitclass InNode
Types
The edge type returned by this graph representation
The edge type returned by this graph representation
Attributes
The type of InnerNodeTrait for this digraph representation
The type of InnerNodeTrait for this digraph representation
Attributes
Inherited types
The edge type used to build this graph representation
Value members
Concrete methods
Attributes
- Definition Classes
O(n^2)
Attributes
- Returns:
A Traversable of the edges as represented in the graph
- Definition Classes
O(ln(n))
O(ln(n))
Attributes
- Returns:
Some inner node if it exists in the digraph or None
- Definition Classes
O(1)
O(1)
O(1)
Attributes
- Returns:
InnerNode representation of all of the nodes in the graph.
- Definition Classes
O(1)
All the nodes in the graph, in an indexed set
All the nodes in the graph, in an indexed set
Attributes
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns:
a string representation of the object.
- Definition Classes
- Any
Inherited methods
Attributes
- Inherited from:
- Digraph