Frames No Frames Cognitoware API v2009512
Cognitoware.Robotics.dll
Cognitoware.Mathematics.Probability.Discrete

Class DiscreteConditional<X, Y>
X: The type whose probability depends on Y.
Y: The type that affects the probability of X.

System.Object
Cognitoware.Mathematics.Probability.RandomConditional<X>
Cognitoware.Mathematics.Probability.Discrete.DiscreteConditional<X, Y>


Summary

An abstract class that acts as a conditional probability distribution across discrete values.

Constructor Summary

DiscreteConditional()

Method Summary

BayesianInference(X, RandomDistribution<Y>)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
ConditionalProbabilityOf(X, Y)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
ConditionBy(Y)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
Equals(Object)
Inherited from System.Object
Finalize()
Inherited from System.Object
GetHashCode()
Inherited from System.Object
GetType()
Inherited from System.Object
LikelihoodOf(X)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
Marginalize(RandomDistribution<Y>)
Inherited from Cognitoware.Mathematics.Probability.RandomConditional
Marginalize(DiscreteConditional<Y>)
Performs the marginalization operation P(X|Z) = P(X|Y) * P(Y|Z).
MemberwiseClone()
Inherited from System.Object
ToString()
Inherited from System.Object

Details

An abstract class that acts as a conditional probability distribution across discrete values. The main addition are the Domain and Range functions that allow iteration over all elements in X and Y that have values in this distribution.

Constructor Details

family DiscreteConditional()

Method Details

public ConditionalValueMap<X> Marginalize(DiscreteConditional<Y> that)
Performs the marginalization operation P(X|Z) = P(X|Y) * P(Y|Z). Uses the Domain and Range properties to sum probabilities across Y.

Parameters:

that - The second operand in the marginalization operation.

Returns:

A new conditional distribution P(X|Z)


Questions, Comments and Licensing
Copyright 2009 Cognitoware. All rights reserved.