Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ParameterCounter

Contains methods to determine the number of parameters in a Bayesian network or distribution.

Hierarchy

  • ParameterCounter

Index

Methods

Static getParameterCount

  • Gets the number of parameters in a Bayesian network.

    exception

    ReferenceError Thrown if [network] is null.

    Parameters

    Returns number

    The number of parameters.

  • Gets the number of parameters in a Bayesian network.

    exception

    ReferenceError Thrown if [network] is null.

    Parameters

    Returns number

    The number of parameters.

  • Gets the parameter count for an individual node distribution.

    Parameters

    • node: Node

      The node that owns the distribution.

    • order: number

      The distribution order. Always zero for non temporal nodes.

    Returns number

    The parameter count.

  • Gets the parameter count for an individual node distribution.

    Parameters

    • node: Node

      The node that owns the distribution.

    • key: NodeDistributionKey

      The distribution key. Order is always zero for non temporal nodes.

    Returns number

    The parameter count.

Static getParameterCountLong

  • Gets the number of parameters in a Bayesian network.

    exception

    ReferenceError Thrown if [network] is null.

    Parameters

    Returns number

    The number of parameters.

  • Gets the number of parameters in a Bayesian network.

    exception

    ReferenceError Thrown if [network] is null.

    Parameters

    Returns number

    The number of parameters.

  • Gets the parameter count for an individual node distribution.

    Parameters

    • node: Node

      The node that owns the distribution.

    • key: NodeDistributionKey

      The distribution key. Order is always zero for non temporal nodes.

    Returns number

    The parameter count.