Packages

object MuGraph

The MuGraph companion object provides builder methods and example query multi-digraphs.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MuGraph
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(tree: Tree[Double], name: String = "t", inverse: Boolean = false): MuGraph[Double]

    Build a MuGraph from a Tree.

    Build a MuGraph from a Tree.

    tree

    the base Tree for building the MuGraph

    name

    the name for the new multi-digraph

    inverse

    whether to add parent references

  2. def apply[TLabel](mgr: MGraph[TLabel], name: String)(implicit arg0: ClassTag[TLabel]): MuGraph[TLabel]

    Build a MuGraph from a MGraph.

    Build a MuGraph from a MGraph.

    mgr

    the base MGraph for building the MuGraph

    name

    the name for the new multi-digraph

  3. def apply[TLabel](gr: Graph[TLabel], eLab: Map[Pair, Set[TLabel]], name: String)(implicit arg0: ClassTag[TLabel]): MuGraph[TLabel]

    Build a MuGraph from a Graph.

    Build a MuGraph from a Graph.

    gr

    the base Graph for building the MuGraph

    eLab

    the edge labels

    name

    the name for the new multi-digraph

  4. def apply[TLabel](label: Array[TLabel], le: Map[Pair, Set[TLabel]], id: Array[Int], inverse: Boolean, schema: Array[String])(implicit arg0: ClassTag[TLabel]): MuGraph[TLabel]

    Build a 'MuGraph' from the given vertex labels and edge mappings.

    Build a 'MuGraph' from the given vertex labels and edge mappings.

    label

    the vertex labels

    le

    the map of edges, vertex pair -> set of edge labels

    id

    the vertex id's

    inverse

    whether to store inverse adjacency sets (parents)

    schema

    the type of the vertices

  5. def ν[TLabel](labelMap: Map[Pair, TLabel])(implicit arg0: ClassTag[TLabel]): Map[Pair, Set[TLabel]]

    Collect the labels in the map into sets.

    Collect the labels in the map into sets.

    labelMap

    the initial label map

  6. def ν[TLabel](label: TLabel*)(implicit arg0: ClassTag[TLabel]): Set[TLabel]

    Collect the label(s) into a set.

    Collect the label(s) into a set.

    label

    the given label(s)