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](inAdj: Adj[N, B], vertex: N, label: A, outAdj: 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
  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](inAdj: Map[N, Set[B]], label: A, outAdj: 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 where nodes of type N 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
  11. case class LNode[N, A](vertex: N, label: A) extends Product with Serializable

    Permalink
  12. type LPath[N, A] = Vector[(A, N)]

    Permalink

    Labeled path through a graph

  13. type LRTree[N, A] = Stream[LPath[N, A]]

    Permalink

    Inward directed tree as a list of labeled paths

  14. type Path[N] = Vector[N]

    Permalink

    Unlabeled path through a graph

  15. type RTree[N] = Stream[Path[N]]

    Permalink

    Inward directed tree as a list of paths

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

    Permalink

    Quasi-unlabaled edge

  17. 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. def getLPath[N, A](v: N, t: LRTree[N, A]): Option[LPath[N, A]]

    Permalink

    Find the first path in a labeled search tree that starts with the given node

  11. def getPath[N](v: N, t: RTree[N]): Option[Path[N]]

    Permalink

    Find the first path in a search tree that starts with the given node

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

    Permalink

    The monoid of graph unions

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

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

    Permalink
  15. 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

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

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

    Permalink
  18. 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

  19. package viz

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped