Graph

trait Graph[Edge, Node]

Generic representation of graphs

Companion:
object
class Object
trait Matchable
class Any
class GraphMap[Edge, Node]

Type members

Types

type Neighs_ = Seq[Neigh[Edge, Node]]

Value members

Abstract methods

def in: Node => Seq[(Edge, Node)]

input edges and referenced nodes from a node

input edges and referenced nodes from a node

def nodes: Seq[Node]

List of nodes

List of nodes

def out: Node => Seq[(Edge, Node)]

output edges and referenced nodes from a node

output edges and referenced nodes from a node

def triples: Seq[(Node, Edge, Node)]

sequence of triples in a graph

sequence of triples in a graph

Concrete methods

def neighbours(node: Node): Neighs_