IndexedGraph

net.walend.disentangle.graph.IndexedGraph
trait IndexedGraph[Node] extends Graph[Node]

A graph that exposes the indices of stored nodes.

Implementers should also include some accessor for edges via indexes.

Attributes

Since:

v0.2.1

Graph
Supertypes
trait Graph[Node]
class Object
trait Matchable
class Any
Known subtypes
class AdjacencyDigraph[Node]
trait IndexedLabelDigraph[Node, Label]
class AdjacencyLabelDigraph[Node, Label]
class MatrixLabelDigraph[Node, Label]
trait IndexedLabelUndigraph[Node, Label]
class AdjacencyLabelUndigraph[Node, Label]

Members list

Concise view

Type members

Classlikes

An internal representation of nodes within the graph

An internal representation of nodes within the graph

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class InNode
class InnerNode
class InNode
class InnerNode

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 Object
trait Matchable
class Any
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 Object
trait Matchable
class Any
Known subtypes

Types

The type of InnerNodeTrait for this digraph representation

The type of InnerNodeTrait for this digraph representation

Attributes

Inherited types

The edge type returned by this graph representation

The edge type returned by this graph representation

Attributes

Inherited from:
Graph

The edge type used to build this graph representation

The edge type used to build this graph representation

Attributes

Inherited from:
Graph

Value members

Abstract methods

Attributes

Returns:

internal representation of all of the nodes in the graph.

def node(i: Int): Node
def nodes: IndexedSet[Node]

All the nodes in the graph, in an indexed set

All the nodes in the graph, in an indexed set

Attributes

Inherited methods

def edges: Iterable[OuterEdgeType]

Attributes

Returns:

A Traversable (usually something more specific) of the edges

Inherited from:
Graph
def innerEdges: Iterable[InnerEdgeType]

Attributes

Returns:

A Traversable of the edges as represented in the graph

Inherited from:
Graph
def innerNode(value: Node): Option[InnerNodeType]

Attributes

value

a node that might be in this digraph

Returns:

Some inner node if it exists in the digraph or None

Inherited from:
Graph
def nodeCount: Int

Attributes

Returns:

number of nodes in the graph

Inherited from:
Graph