GenericGraphImpl
org.encalmo.data.Graph.GenericGraphImpl
final class GenericGraphImpl[N](val nodes: Traversable[N], val adjacent: N => Traversable[N]) extends GenericGraph[N]
Generic graph implementation created from a nodes collection and an adjacent nodes function.
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Whether the node has any adjacent nodes.
Inherited methods
Whether the graph contains the node.
The edges in the graph.
The number of edges in the graph.
The number of nodes in the graph.
The reverse of the graph.
Concrete fields
The adjacent nodes for each node.
The adjacent nodes for each node.
Attributes
The nodes in the graph.
The nodes in the graph.
Attributes
In this article