MutableMapGraph

org.encalmo.data.MutableMapGraph
See theMutableMapGraph companion object
class MutableMapGraph[N](val nodeMap: Map[N, ArrayBuffer[N]]) extends GenericGraph[N], Mutable[N]

Attributes

Companion
object
Graph
Supertypes
trait Mutable[N]
trait Shrinkable[(N, N)]
trait Growable[(N, N)]
trait Clearable
trait GenericGraph[N]
trait Graph[N]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

final inline def addAll(xs: Traversable[(N, N)]): this.type
final override def addOne(edge: (N, N)): this.type

Attributes

Definition Classes
final inline def addReverse(edge: (N, N)): this.type
final inline def addReverse(edges: Traversable[(N, N)]): this.type
final inline override def clear(): Unit

Attributes

Definition Classes
final inline override def contains(node: N): Boolean

Attributes

Definition Classes
override def hasAdjacent(node: N): Boolean

Attributes

Definition Classes
final def head: (N, ArrayBuffer[N])
final def merge(other: MutableMapGraph[N]): MutableMapGraph[N]
final inline override def nodes: Traversable[N]

Attributes

Definition Classes
final inline override def nodesCount: Int

Attributes

Definition Classes
final def prependOne(edge: (N, N)): this.type
final def prependOneIfNotExist(edge: (N, N)): this.type
final override def remove(node: N): this.type

Attributes

Definition Classes
override def reverse: Graph[N]

Attributes

Definition Classes
final inline def subtractAll(xs: Traversable[(N, N)]): this.type
final override def subtractOne(edge: (N, N)): this.type

Attributes

Definition Classes
final override def transform(f: (N, ArrayBuffer[N]) => ArrayBuffer[N]): this.type

Attributes

Definition Classes
final override def update(node: N, adjacent: ArrayBuffer[N]): this.type

Attributes

Definition Classes

Inherited methods

final def ++=(elems: IterableOnce[(N, N)]): Growable.this.type

Attributes

Inherited from:
Growable
final def +=(elem: (N, N)): Growable.this.type

Attributes

Inherited from:
Growable
final def --=(xs: IterableOnce[(N, N)]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
final def -=(elem: (N, N)): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable
def addAll(elems: IterableOnce[(N, N)]): Growable.this.type

Attributes

Inherited from:
Growable
override def edges: Traversable[(N, N)]

Attributes

Definition Classes
Inherited from:
GenericGraph
override def edgesCount: Long

Attributes

Definition Classes
Inherited from:
GenericGraph
def knownSize: Int

Attributes

Inherited from:
Growable
def subtractAll(xs: IterableOnce[(N, N)]): Shrinkable.this.type

Attributes

Inherited from:
Shrinkable

Deprecated and Inherited methods

final def +=(elem1: (N, N), elem2: (N, N), elems: (N, N)*): Growable.this.type

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
def -=(elem1: (N, N), elem2: (N, N), elems: (N, N)*): Shrinkable.this.type

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

override val adjacent: N => Traversable[N]