Packages

  • package root
    Definition Classes
    root
  • class Graph[N, A, C] extends AnyRef

    Represents a graph where nodes are elements of N, and edges are annotated with elements of type-class GraphAnnotation

    Represents a graph where nodes are elements of N, and edges are annotated with elements of type-class GraphAnnotation

    Definition Classes
    root

class Graph[N, A, C] extends AnyRef

Represents a graph where nodes are elements of N, and edges are annotated with elements of type-class GraphAnnotation

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Graph
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Graph(ids: Map[N, Int], next: Int, nodes: Set[N], edges: Map[N, Set[(A, N)]])(implicit g: GraphNode[N, C], a: GraphAnnotation[A, C])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to any2stringadd[Graph[N, A, C]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Graph[N, A, C], B)
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to ArrowAssoc[Graph[N, A, C]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. implicit val a: GraphAnnotation[A, C]
  7. def addEdge(node1: N, annot: A, node2: N): Graph[N, A, C]

    Add an edge frome node1 to node2, with annotation annot

  8. def addEdges(l: Traversable[(N, A, N)]): Graph[N, A, C]

    Add multiple edges

  9. def addNode(node: N): Graph[N, A, C]

    Add a node to the graph

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  12. val edges: Map[N, Set[(A, N)]]
  13. def ensuring(cond: (Graph[N, A, C]) ⇒ Boolean, msg: ⇒ Any): Graph[N, A, C]
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to Ensuring[Graph[N, A, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Graph[N, A, C]) ⇒ Boolean): Graph[N, A, C]
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to Ensuring[Graph[N, A, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): Graph[N, A, C]
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to Ensuring[Graph[N, A, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Graph[N, A, C]
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to Ensuring[Graph[N, A, C]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to StringFormat[Graph[N, A, C]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. implicit val g: GraphNode[N, C]
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def getNode(id: Int): Option[N]

    Get the node with the given id, mostly used for debugging purposes

  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val ids: Map[N, Int]
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. val next: Int
  28. def nodeId(node: N): Int

    Get the id of the given node, mostly used for debugging purposes

  29. val nodes: Set[N]
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def removeNode(node: N): Graph[N, A, C]

    Remove a node from the graph

  33. def size: Int

    Number of nodes in the graph

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def transitions: Int

    Number of edges in the graph

  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (Graph[N, A, C], B)
    Implicit
    This member is added by an implicit conversion from Graph[N, A, C] to ArrowAssoc[Graph[N, A, C]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Graph[N, A, C] to any2stringadd[Graph[N, A, C]]

Inherited by implicit conversion StringFormat from Graph[N, A, C] to StringFormat[Graph[N, A, C]]

Inherited by implicit conversion Ensuring from Graph[N, A, C] to Ensuring[Graph[N, A, C]]

Inherited by implicit conversion ArrowAssoc from Graph[N, A, C] to ArrowAssoc[Graph[N, A, C]]

Ungrouped