Skip to content

DelayDistribution


abstract class DelayDistribution

Value-agnostic interface for distributions. Provides essential functionality for delayed sampling, an implementation of automatic marginalization (variable elimination, Rao--Blackwellization) and automatic conjugacy.

Member Variables

Name Description
child:DelayDistribution? Child, if one exists and it is on the M-path.

Member Functions

Name Description
realize Realize a value for the node.
prune Prune the M-path from below this node.
setChild Set the M-path child of this node.
releaseChild Release the M-path child of this node.
link Establish links with the parent node on the M-path.
unlink Remove links with the parent node on the M-path.

Member Function Details

function link()

Establish links with the parent node on the M-path.

prune

final function prune()

Prune the M-path from below this node.

realize

abstract function realize()

Realize a value for the node.

releaseChild

final function releaseChild(child:DelayDistribution)

Release the M-path child of this node. This is used internally by the unlink() member function of the child node.

  • child: The child node. The current child must match this node, or there must be no current child.

setChild

final function setChild(child:DelayDistribution)

Set the M-path child of this node. This is used internally by the link() member function of the child node.

  • child: The child node. The current child must match this node, or there must be no current child.

function unlink()

Remove links with the parent node on the M-path.