GenericGraph

org.encalmo.data.GenericGraph
trait GenericGraph[N] extends Graph[N]

Simple graph defined by abstract nodes collection and adjacent nodes function.

Attributes

Graph
Supertypes
trait Graph[N]
class Object
trait Matchable
class Any
Known subtypes
class GenericGraphImpl[N]
class WeightedGraphImpl[N, V]
class MapGraph[N]
class IntMapGraph
class MutableMapGraph[N]
Show all
Self type

Members list

Keywords
  • no keywords
  • override
Inherited
  • Not inherited
  • Graph

Value members

Concrete methods

override def contains(node: N): Boolean

Attributes

Definition Classes
override def edges: Traversable[(N, N)]

Attributes

Definition Classes
override def edgesCount: Long

Attributes

Definition Classes
override def nodesCount: Int

Attributes

Definition Classes
override def reverse: Graph[N]

Attributes

Definition Classes

Inherited and Abstract methods

def adjacent: N => Traversable[N]

Attributes

Inherited from:
Graph
def hasAdjacent(node: N): Boolean

Attributes

Inherited from:
Graph
def nodes: Traversable[N]

Attributes

Inherited from:
Graph