C# Class AIMA.Probability.Util.ProbUtil

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

Public Methods

Method Description
checkValidRandomVariableName ( String name ) : void
constructConjunction ( IProposition props ) : IProposition
expectedSizeOfCategoricalDistribution ( ) : int
expectedSizeOfProbabilityTable ( ) : int
getEventValuesForParents ( Node Xi, Object>.Map evt ) : Object[]
getEventValuesForXiGivenParents ( Node Xi, Object>.Map evt ) : Object[]
getEventValuesForXiGivenParents ( Node Xi, Object xDelta, Object>.Map evt ) : Object[]
indexOf ( RandomVariable X, Object>.Map x ) : int
indexesOfValue ( RandomVariable X, int idx, Object>.Map x ) : int[]
mbDistribution ( Node Xi, Object>.Map evt ) : double[]
mbRandomSample ( Node Xi, Object>.Map evt, Randomizer r ) : Object
randomSample ( Node Xi, Object>.Map evt, Randomizer r ) : Object
sample ( double probabilityChoice, RandomVariable Xi, double distribution ) : Object

Private Methods

Method Description
constructConjunction ( IProposition props, int idx ) : IProposition

Method Details

checkValidRandomVariableName() public static method

public static checkValidRandomVariableName ( String name ) : void
name String
return void

constructConjunction() public static method

public static constructConjunction ( IProposition props ) : IProposition
props IProposition
return IProposition

expectedSizeOfCategoricalDistribution() public static method

public static expectedSizeOfCategoricalDistribution ( ) : int
return int

expectedSizeOfProbabilityTable() public static method

public static expectedSizeOfProbabilityTable ( ) : int
return int

getEventValuesForParents() public static method

public static getEventValuesForParents ( Node Xi, Object>.Map evt ) : Object[]
Xi Node
evt Object>.Map
return Object[]

getEventValuesForXiGivenParents() public static method

public static getEventValuesForXiGivenParents ( Node Xi, Object>.Map evt ) : Object[]
Xi Node
evt Object>.Map
return Object[]

getEventValuesForXiGivenParents() public static method

public static getEventValuesForXiGivenParents ( Node Xi, Object xDelta, Object>.Map evt ) : Object[]
Xi Node
xDelta Object
evt Object>.Map
return Object[]

indexOf() public static method

public static indexOf ( RandomVariable X, Object>.Map x ) : int
X RandomVariable
x Object>.Map
return int

indexesOfValue() public static method

public static indexesOfValue ( RandomVariable X, int idx, Object>.Map x ) : int[]
X RandomVariable
idx int
x Object>.Map
return int[]

mbDistribution() public static method

public static mbDistribution ( Node Xi, Object>.Map evt ) : double[]
Xi Node
evt Object>.Map
return double[]

mbRandomSample() public static method

public static mbRandomSample ( Node Xi, Object>.Map evt, Randomizer r ) : Object
Xi Node
evt Object>.Map
r Randomizer
return Object

randomSample() public static method

public static randomSample ( Node Xi, Object>.Map evt, Randomizer r ) : Object
Xi Node
evt Object>.Map
r Randomizer
return Object

sample() public static method

public static sample ( double probabilityChoice, RandomVariable Xi, double distribution ) : Object
probabilityChoice double
Xi RandomVariable
distribution double
return Object