Package

quiver

Permalink

package quiver

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. quiver
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Adj[N, B] = Vector[(B, N)]

    Permalink

    Labeled links to or from a node

  2. case class BiDecomp[N, A, B](first: Context[N, A, B], last: Context[N, A, B], rest: Graph[N, A, B]) extends Product with Serializable

    Permalink

    The decomposition of a graph into two detached contexts focused on distinguished "first" and "last" nodes.

  3. case class Context[N, A, B](inEdges: Adj[N, B], vertex: N, label: A, outEdges: Adj[N, B]) extends Product with Serializable

    Permalink

    The view of a graph focused on the context surrounding a particular node.

  4. case class Decomp[N, A, B](ctx: Option[Context[N, A, B]], rest: Graph[N, A, B]) extends Product with Serializable

    Permalink

    The decomposition of a graph into a detached context focused on one node and the rest of the graph.

  5. case class Edge[N](from: N, to: N) extends Product with Serializable

    Permalink

    Unlabeled Edge

  6. case class GDecomp[N, A, B](ctx: Context[N, A, B], rest: Graph[N, A, B]) extends Product with Serializable

    Permalink

    The same as Decomp, only more sure of itself

  7. case class GrContext[N, A, B](inEdges: Map[N, Set[B]], label: A, outEdges: Map[N, Set[B]]) extends Product with Serializable

    Permalink

    The label, predecessors, and successors of a given node

  8. case class Graph[N, A, B](rep: GraphRep[N, A, B]) extends Product with Serializable

    Permalink

    An implementation of an inductive graph using Map.

    An implementation of an inductive graph using Map. Nodes are labeled with A, and edges are labeled with B.

  9. type GraphRep[N, A, B] = Map[N, GrContext[N, A, B]]

    Permalink

    The internal representation of a graph

  10. case class LEdge[N, A](from: N, to: N, label: A) extends Product with Serializable

    Permalink

    Labeled Edge

  11. case class LNode[N, A](vertex: N, label: A) extends Product with Serializable

    Permalink

    Labeled Node

  12. type UEdge[N] = LEdge[N, Unit]

    Permalink

    Quasi-unlabaled edge

  13. type UNode[N] = LNode[N, Unit]

    Permalink

    Quasi-unlabeled node

Value Members

  1. def addPred[N, A, B](g: GraphRep[N, A, B], v: N, lss: Vector[(B, N)]): GraphRep[N, A, B]

    Permalink
  2. def addSucc[N, A, B](g: GraphRep[N, A, B], v: N, lps: Vector[(B, N)]): GraphRep[N, A, B]

    Permalink
  3. def buildGraph[N, A, B](ctxs: Seq[Context[N, A, B]]): Graph[N, A, B]

    Permalink

    Build a graph from a list of contexts

  4. def clear[N, A, B](g: GraphRep[N, A, B], v: N, ns: Vector[N], f: (GrContext[N, A, B]) ⇒ GrContext[N, A, B]): GraphRep[N, A, B]

    Permalink
  5. def clearPred[N, A, B](g: GraphRep[N, A, B], v: N, ns: Vector[N]): GraphRep[N, A, B]

    Permalink
  6. def clearSucc[N, A, B](g: GraphRep[N, A, B], v: N, ns: Vector[N]): GraphRep[N, A, B]

    Permalink
  7. implicit def edgeOrder[N, A](implicit N: Order[N]): Order[Edge[N]]

    Permalink
  8. def empty[N, A, B]: Graph[N, A, B]

    Permalink

    An empty graph

  9. def fromAdj[N, B](adj: Adj[N, B]): Map[N, Set[B]]

    Permalink

    Turn an adjacency list of labeled edges into an intmap of sets of labels

  10. implicit def graphMonoid[N, A, B]: Monoid[Graph[N, A, B]]

    Permalink
  11. implicit def graphOrder[N, A, B](implicit N: Order[N], A: Order[A], B: Order[B]): Order[Graph[N, A, B]]

    Permalink
  12. implicit def ledgeOrder[N, A](implicit N: Order[N], A: Order[A]): Order[LEdge[N, A]]

    Permalink
  13. def mkGraph[N, A, B](vs: Seq[LNode[N, A]], es: Seq[LEdge[N, B]]): Graph[N, A, B]

    Permalink

    Create a graph from lists of labeled nodes and edges

  14. implicit def nodeOrder[N, A](implicit N: Order[N], A: Order[A]): Order[LNode[N, A]]

    Permalink
  15. def safeMkGraph[N, A, B](vs: Seq[LNode[N, A]], es: Seq[LEdge[N, B]]): Graph[N, A, B]

    Permalink
  16. def toAdj[N, B](bs: Map[N, Set[B]]): Adj[N, B]

    Permalink

    Turn an intmap of sets of labels into an adjacency list of labeled edges

  17. package viz

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped