Provides constant-time access for edges of a node.
The constructor is O(n + a ln(n))
Attributes
- Since:
v0.2.1
- Companion:
- object
- Graph
- Supertypes
Members list
Type members
Classlikes
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait InnerIndexedNodeTraittrait UndigraphInnerNodeTraittrait InnerNodeTraitclass Objecttrait Matchableclass Any
Attributes
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait UndigraphInnerEdgeTraittrait InnerEdgeTraitclass Objecttrait Matchableclass Any
Inherited classlikes
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
Attributes
- Inherited from:
- Undigraph
- Graph
- Supertypes
- Known subtypes
Attributes
- Inherited from:
- Undigraph
- Graph
- Supertypes
- Known subtypes
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
- Returns:
the Label between a pair of nodes, or noEdgeExistsLable if no edge exists.
- Throws:
- IllegalArgumentException
if either node is not in the graph
- Definition Classes
O(n^2)
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(n)
O(n)
Attributes
- Returns:
the edge between start and end or noEdgeExistsValue
- Definition Classes
O(n)
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
Concrete fields
Attributes
- Returns:
A Traversable of the edges as represented in the graph
Attributes
- Returns:
the label to return when no edge exists