Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnrollOutput

Contains information returned by {@link com.bayesserver.Unroller#unroll}.

Hierarchy

  • UnrollOutput

Index

Constructors

constructor

Accessors

dbn

  • Gets the Dynamic Bayesian network before it was unrolled.

    Returns Network

    The Dynamic Bayesian network.

sliceCount

  • get sliceCount(): number
  • Gets the slice count of the unrolled network.

    Returns number

    The slice count.

unrolled

  • Gets the unrolled Dynamic Bayesian network.

    Returns Network

Methods

getDbnNode

  • Maps from a node in the unrolled network to the corresponding node in the original Dynamic Bayesian network.

    Parameters

    • unrolledNode: Node

      The unrolled node.

    Returns NodeTime

    The node in the original Dynamic Bayesian network, and the time that the unrolled node represents.

getDbnVariable

  • Maps from a variable in the unrolled network to the corresponding variable in the original Dynamic Bayesian network.

    Parameters

    • unrolledVariable: Variable

      The unrolled variable.

    Returns VariableTime

    The variable in the original Dynamic Bayesian network, and the time that it corresponds to.

getUnrolledNode

  • getUnrolledNode(dbnNode: Node, time: number | null): Node
  • Maps between a node in the original Dynamic Bayesian network, and the corresponding node in the unrolled network.

    Parameters

    • dbnNode: Node

      The node in the original Dynamic Bayesian network.

    • time: number | null

      The time at which to retrieve the corresponding unrolled node.

    Returns Node

    The node in the unrolled network.

getUnrolledVariable

  • Maps between a variable in the original Dynamic Bayesian network, and the corresponding variable in the unrolled network.

    Parameters

    • dbnVariable: Variable

      The variable in the original Dynamic Bayesian network.

    • time: number | null

      The time at which to retrieve the corresponding unrolled variable.

    Returns Variable

    The variable in the unrolled network.