org.encalmo.data.MutableMapGraph
See theMutableMapGraph companion object
class MutableMapGraph[N](val nodeMap: Map[N, ArrayBuffer[N]] = ...) extends GenericGraph[N], Mutable[N]
Mutable graph implemented as a mutable map of nodes to adjacent nodes.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Mutable[N]trait Clearabletrait GenericGraph[N]trait Graph[N]class Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class ReversedMutableMapGraph[N]
Members list
Value members
Concrete methods
Whether the graph contains the node.
Whether the node has any adjacent nodes.
The nodes in the graph.
The number of nodes in the graph.
Remove a node from the graph.
The reverse of the graph.
Attributes
- Definition Classes
Transform the graph.
Update the adjacent nodes for a node.
Inherited methods
Attributes
- Inherited from:
- Growable
Attributes
- Inherited from:
- Shrinkable
Attributes
- Inherited from:
- Shrinkable
Attributes
- Inherited from:
- Growable
The edges in the graph.
The number of edges in the graph.
Attributes
- Inherited from:
- Shrinkable
Deprecated and Inherited methods
Attributes
- Deprecated
-
[Since version 2.13.0]Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated - Inherited from:
- Growable
Attributes
- Deprecated
-
[Since version 2.13.3]Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated - Inherited from:
- Shrinkable
Concrete fields
The adjacent nodes for each node.
The adjacent nodes for each node.
Attributes
In this article