DepGraphJGraphT

es.weso.depgraphs.DepGraphJGraphT
case class DepGraphJGraphT[Node]() extends DepGraph[Node] with LazyLogging

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LazyLogging
trait DepGraph[Node]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

case class Edge(source: Node, posNeg: PosNeg, target: Node)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Types

type ES[A] = Either[String, A]

Value members

Concrete methods

override def addEdge(node1: Node, posNeg: PosNeg, node2: Node): DepGraph[Node]

Attributes

Definition Classes
override def addNode(n: Node): DepGraph[Node]

Attributes

Definition Classes
override def edgeBetween(node1: Node, node2: Node): Option[PosNeg]

Attributes

Definition Classes
override def empty: DepGraph[Node]

Attributes

Definition Classes
override def inEdges(node: Node): Either[String, Set[(Node, PosNeg)]]

Attributes

Definition Classes
override def isomorphicWith(other: DepGraph[Node]): Either[String, Unit]

Checks if this graph is isomorphic with another one

Checks if this graph is isomorphic with another one

Attributes

other

the other dependency graph

Returns:

Left(msg) if it is not isomorphic or Right(()) if it is isomorphic

Definition Classes
override def negCycles: Set[Set[(Node, Node)]]

Attributes

Definition Classes
override def nodes: Set[Node]

Attributes

Definition Classes
override def outEdges(node: Node): Either[String, Set[(PosNeg, Node)]]

Attributes

Definition Classes
def showEdges(showNode: Node => String): String

Inherited methods

def addNegEdge(node1: Node, node2: Node): DepGraph[Node]

Attributes

Inherited from:
DepGraph
def addPosEdge(node1: Node, node2: Node): DepGraph[Node]

Attributes

Inherited from:
DepGraph

Attributes

Inherited from:
DepGraph
def oddNegCycles: Set[Set[(Node, Node)]]

Attributes

Inherited from:
DepGraph

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

val graph: Graph[Node, Edge]

Inherited fields

lazy protected val logger: Logger

Attributes

Inherited from:
LazyLogging