C# Class AIMA.Probability.Util.ProbabilityTable

Inheritance: AIMA.Probability.CategoricalDistribution
Mostra file Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
ProbabilityTable ( ) : System
ProbabilityTable ( List vars ) : System
ProbabilityTable ( double vals ) : System
ToString ( ) : String
contains ( RandomVariable rv ) : bool
divideBy ( CategoricalDistribution divisor ) : CategoricalDistribution
divideBy ( ProbabilityTable divisor ) : ProbabilityTable
getArgumentVariables ( ) : Set
getFor ( ) : Set
getIndex ( ) : int
getSum ( ) : double
getValue ( ) : double
getValues ( ) : double[]
iterateOver ( CategoricalDistribution cdi ) : void
iterateOver ( Factor fi ) : void
iterateOverTable ( Factor pti ) : void
marginal ( ) : CategoricalDistribution
multiplyBy ( CategoricalDistribution multiplier ) : CategoricalDistribution
multiplyByPOS ( CategoricalDistribution multiplier ) : CategoricalDistribution
normalize ( ) : CategoricalDistribution
pointwiseProduct ( Factor multiplier ) : Factor
pointwiseProduct ( ProbabilityTable multiplier ) : ProbabilityTable
pointwiseProductPOS ( Factor multiplier ) : Factor
pointwiseProductPOS ( ProbabilityTable multiplier ) : ProbabilityTable
setValue ( int idx, double value ) : void
size ( ) : int
sumOut ( ) : ProbabilityTable

Private Methods

Method Description
createRadixs ( RVInfo>.Map mapRtoInfo ) : int[]
reinitLazyValues ( ) : void

Method Details

ProbabilityTable() public method

public ProbabilityTable ( ) : System
return System

ProbabilityTable() public method

public ProbabilityTable ( List vars ) : System
vars List
return System

ProbabilityTable() public method

public ProbabilityTable ( double vals ) : System
vals double
return System

ToString() public method

public ToString ( ) : String
return String

contains() public method

public contains ( RandomVariable rv ) : bool
rv RandomVariable
return bool

divideBy() public method

public divideBy ( CategoricalDistribution divisor ) : CategoricalDistribution
divisor AIMA.Probability.CategoricalDistribution
return AIMA.Probability.CategoricalDistribution

divideBy() public method

public divideBy ( ProbabilityTable divisor ) : ProbabilityTable
divisor ProbabilityTable
return ProbabilityTable

getArgumentVariables() public method

public getArgumentVariables ( ) : Set
return Set

getFor() public method

public getFor ( ) : Set
return Set

getIndex() public method

public getIndex ( ) : int
return int

getSum() public method

public getSum ( ) : double
return double

getValue() public method

public getValue ( ) : double
return double

getValues() public method

public getValues ( ) : double[]
return double[]

iterateOver() public method

public iterateOver ( CategoricalDistribution cdi ) : void
cdi AIMA.Probability.CategoricalDistribution
return void

iterateOver() public method

public iterateOver ( Factor fi ) : void
fi AIMA.Probability.Factor
return void

iterateOverTable() public method

public iterateOverTable ( Factor pti ) : void
pti AIMA.Probability.Factor
return void

marginal() public method

public marginal ( ) : CategoricalDistribution
return AIMA.Probability.CategoricalDistribution

multiplyBy() public method

public multiplyBy ( CategoricalDistribution multiplier ) : CategoricalDistribution
multiplier AIMA.Probability.CategoricalDistribution
return AIMA.Probability.CategoricalDistribution

multiplyByPOS() public method

public multiplyByPOS ( CategoricalDistribution multiplier ) : CategoricalDistribution
multiplier AIMA.Probability.CategoricalDistribution
return AIMA.Probability.CategoricalDistribution

normalize() public method

public normalize ( ) : CategoricalDistribution
return AIMA.Probability.CategoricalDistribution

pointwiseProduct() public method

public pointwiseProduct ( Factor multiplier ) : Factor
multiplier AIMA.Probability.Factor
return AIMA.Probability.Factor

pointwiseProduct() public method

public pointwiseProduct ( ProbabilityTable multiplier ) : ProbabilityTable
multiplier ProbabilityTable
return ProbabilityTable

pointwiseProductPOS() public method

public pointwiseProductPOS ( Factor multiplier ) : Factor
multiplier AIMA.Probability.Factor
return AIMA.Probability.Factor

pointwiseProductPOS() public method

public pointwiseProductPOS ( ProbabilityTable multiplier ) : ProbabilityTable
multiplier ProbabilityTable
return ProbabilityTable

setValue() public method

public setValue ( int idx, double value ) : void
idx int
value double
return void

size() public method

public size ( ) : int
return int

sumOut() public method

public sumOut ( ) : ProbabilityTable
return ProbabilityTable