Packages

c

scalation.graph_db

BoundedTreeWidthBN

class BoundedTreeWidthBN extends Error

The BoundedTreeWidthBN class provides bounded treewidth Bayesian Networks.

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

Instance Constructors

  1. new BoundedTreeWidthBN(g_in: MGraph[Double], kMax: Int)

    g_in

    the input directed graph (FIX: training data)

    kMax

    the maximum allowed treewidth

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DEBUG: Boolean
  5. def addEdgesGreedily(g: MGraph[Double], mp: MGraph[Double], k: Int): Unit

    Greedily add edges to 'g' that do not increase treewidth beyond 'kMax'.

    Greedily add edges to 'g' that do not increase treewidth beyond 'kMax'.

    g

    the maximum scoring graph of bounded treewidth

    mp

    the triangulated moralized graph

    k

    the current treewidth

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def blockSort(mp: MGraph[Double]): Array[Int]

    Order the blocks in the graph.

    Order the blocks in the graph.

    mp

    the triangulated moralized graph

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def findbestEdge(g: MGraph[Double], mp: MGraph[Double], k: Int): Pair

    Find and return the next best remaining edge.

    Find and return the next best remaining edge. Return (-1, -1) if there are none.

    g

    the maximum scoring graph of bounded treewidth

    mp

    the triangulated moralized graph

    k

    the current treewidth

  13. final def flaw(method: String, message: String): Unit
    Definition Classes
    Error
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def learnBN(): MGraph[Double]

    Learn a Bayesian Network with Bounded Treewidth.

    Learn a Bayesian Network with Bounded Treewidth. Starting with a spanning tree, add score improving edges, so long as the 'kMax' bound on the graph's treewidth is not exceeded. This corresponds to Algorithm 1 in the paper.

  18. def maxCliqueSize(mp: MGraph[Double]): Int

    Compute the size of the largest clique in the graph.

    Compute the size of the largest clique in the graph.

    mp

    the triangulated moralized graph whose maximum clique size is sought

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def orderVertices(g: MGraph[Double], mp: MGraph[Double]): (Array[Int], Array[Int])

    Order the vertices and blocks in the graph.

    Order the vertices and blocks in the graph.

    g

    the graph built up from the spanning tree

    mp

    the triangulated moralized graph

    See also

    Algorithm 7

  23. def positiveEdges: Boolean

    Determine whether positive scoring edges still exist.

  24. val stree: MinSpanningTree
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Error

Inherited from AnyRef

Inherited from Any

Ungrouped