Options
All
  • Public
  • Public/Protected
  • All
Menu

Class QueryDistributionCollection

The collection of distributions to be calculated by a {@link com.bayesserver.inference.IInference#query}. See {@link com.bayesserver.inference.IQueryDistributionCollection}.

Hierarchy

  • QueryDistributionCollection

Implements

Index

Constructors

constructor

  • Initializes a new instance of the {@link com.bayesserver.inference.QueryDistributionCollection} class, passing the target Bayesian network as a parameter.

    Parameters

    • network: Network

      The network that will be the target of the {@link com.bayesserver.inference.IInference#query}.

    Returns QueryDistributionCollection

Accessors

network

  • Gets the {@link com.bayesserver.Network} that is the target for a {@link com.bayesserver.inference.IInference#query}.

    Returns Network

size

  • get size(): number
  • Returns number

Methods

_2ad2e5f4b2884a52bf8bfc07ce8953d3

  • _2ad2e5f4b2884a52bf8bfc07ce8953d3(): void

__@iterator

clear

  • clear(): void

get

includes

indexOf

insert

push

pushDistribution

  • Adds the specified distribution, automatically creating a {@link com.bayesserver.inference.QueryDistribution} instance.

    Parameters

    Returns QueryDistribution

    The automatically created {@link com.bayesserver.inference.QueryDistribution} instance.

remove

removeAt

set