C# Class AIMA.Probability.BayesNetNode

显示文件 Open project: PaulMineau/AIMA.Net Class Usage Examples

Public Methods

Method Description
BayesNetNode ( String variable ) : System
Equals ( Object o ) : bool
GetHashCode ( ) : int
ToString ( ) : String
getChildren ( ) : List
getParents ( ) : List
getVariable ( ) : String
influencedBy ( BayesNetNode parent1 ) : void
influencedBy ( BayesNetNode parent1, BayesNetNode parent2 ) : void
isTrueFor ( double probability, bool>.Dictionary modelBuiltUpSoFar ) : bool
probabilityOf ( bool>.Dictionary conditions ) : double
setProbability ( bool b, bool c, double d ) : void
setProbability ( bool b, double d ) : void

Private Methods

Method Description
addChild ( BayesNetNode node ) : void
addParent ( BayesNetNode node ) : void
isRoot ( ) : bool

Method Details

BayesNetNode() public method

public BayesNetNode ( String variable ) : System
variable String
return System

Equals() public method

public Equals ( Object o ) : bool
o Object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : String
return String

getChildren() public method

public getChildren ( ) : List
return List

getParents() public method

public getParents ( ) : List
return List

getVariable() public method

public getVariable ( ) : String
return String

influencedBy() public method

public influencedBy ( BayesNetNode parent1 ) : void
parent1 BayesNetNode
return void

influencedBy() public method

public influencedBy ( BayesNetNode parent1, BayesNetNode parent2 ) : void
parent1 BayesNetNode
parent2 BayesNetNode
return void

isTrueFor() public method

public isTrueFor ( double probability, bool>.Dictionary modelBuiltUpSoFar ) : bool
probability double
modelBuiltUpSoFar bool>.Dictionary
return bool

probabilityOf() public method

public probabilityOf ( bool>.Dictionary conditions ) : double
conditions bool>.Dictionary
return double

setProbability() public method

public setProbability ( bool b, bool c, double d ) : void
b bool
c bool
d double
return void

setProbability() public method

public setProbability ( bool b, double d ) : void
b bool
d double
return void