Class

io.bimble.pqgram

PqOps

Related Doc: package pqgram

Permalink

case class PqOps[N]() extends PqExtender[N] with PqSubgraph[N] with PqGramLabelTuple[N] with PqGramDistance[N] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, PqGramDistance[N], PqGramLabelTuple[N], PqSubgraph[N], PqExtender[N], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PqOps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. PqGramDistance
  7. PqGramLabelTuple
  8. PqSubgraph
  9. PqExtender
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PqOps()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def distance(lt1: Seq[String], l2: Seq[String]): Double

    Permalink

    Definition 4.6 (pq-Gram Distance) For p > 0 and q > 0, the pq-gram distance, ∆p,q(T1, T2), between two trees T1 and T2 is defined as follows:

    Definition 4.6 (pq-Gram Distance) For p > 0 and q > 0, the pq-gram distance, ∆p,q(T1, T2), between two trees T1 and T2 is defined as follows:

    ∆p,q(T1, T2) = 1 − 2 |Pp,q(T1) ∩ Pp,q(T2)| |Pp,q(T1) ∪ Pp,q(T2)|

    Definition Classes
    PqGramDistance
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def extend(tree: DAG[N], p: Int, q: Int)(implicit nullNodes: CreatableOrdering[N]): PQGram[N]

    Permalink

    Definition 4.1 (pq-Extended Tree) Let T be a tree, and p > 0 and q > 0 be two integers.

    Definition 4.1 (pq-Extended Tree) Let T be a tree, and p > 0 and q > 0 be two integers. The pqextended tree, Tpq, is constructed from T by adding p−1 ancestors to the root node, inserting q−1 children before the first and after the last child of each non-leaf node, and adding q children to each leaf of T. All newly inserted nodes are null nodes that do not occur in T.

    tree

    the tree to extend

    p

    insert p-1 ancestors to the root node

    q

    add q children to each leaf node in t

    returns

    the extended tree

    Definition Classes
    PqExtender
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def labelTuple(tree: DAG[N], root: N)(implicit ord: CreatableOrdering[N]): List[N]

    Permalink

    Definition 4.4 (Label-tuple) Let G be a pq-gram with the nodes V (G) = {v1, ...

    Definition 4.4 (Label-tuple) Let G be a pq-gram with the nodes V (G) = {v1, ... , vp, vp+1, ... , vp+q}, where vi is the i-th node in preorder. The tuple l(G) = (l(v1), ... , l(vp), l(vp+1), ... , l(vp+q)) is called the label-tuple of G.

    Definition Classes
    PqGramLabelTuple
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def subgraphs(pq: PQGram[N])(implicit tt: scala.reflect.api.JavaUniverse.TypeTag[N], ord: Ordering[N]): Seq[DAG[N]]

    Permalink

    Definition 4.3 (pq-Gram) For p > 0 and q > 0, a pq-gram of a tree T is defined as a subtree of the extended tree Tpq that is isomorphic to the pq-gram pattern.

    Definition 4.3 (pq-Gram) For p > 0 and q > 0, a pq-gram of a tree T is defined as a subtree of the extended tree Tpq that is isomorphic to the pq-gram pattern.

    pq

    the PQGram to retrieve all subtrees of

    returns

    all subtrees of the PQGram

    Definition Classes
    PqSubgraph
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from PqGramDistance[N]

Inherited from PqGramLabelTuple[N]

Inherited from PqSubgraph[N]

Inherited from PqExtender[N]

Inherited from AnyRef

Inherited from Any

Ungrouped