C# Class UnityAI.Core.Belief.BeliefNet

Exibir arquivo Open project: unityai/unityai-core Class Usage Examples

Public Methods

Method Description
CalculateCombinedConjunctive ( BeliefNode voBeliefNode, Arcs voArcs ) : float

For the List of Arc Calculate the Conjunctive value (min)

CalculateCombinedDisjunctive ( BeliefNode voBeliefNode, Arcs voArcs ) : float

For the List of Arc Calculate the Disjunctive value (max)

CalculateCombinedIndependent ( BeliefNode voBeliefNode, Arcs voArcs ) : float

For the List of Arc Calculate the Combined Independent value

CalculateEffectiveArcLambda ( BeliefNode voBeliefNode, Arc voArc ) : float

Calcualtes the Effective Arc Lambda

DebugProgress ( BeliefNode voNode, Arc voArc, BeliefNode voArcNode, string vsProgress ) : void

Debug Process, make sure values line up with LISP code

EvaluateArcExpression ( BeliefNode voBeliefNode, Arcs voArcs ) : float

For a single Arc, this evalulate the expressions

LoadXml ( string vsFileName ) : void

Loads the nodes from Xml

UpdateNode ( BeliefNode voBeliefNode ) : bool

Updates a single node in the Belief Net

UpdateNodes ( ) : bool

Updates the Nodes in the Belief Net

UpdateProbability ( BeliefNode voBeliefNode, Arc voArc ) : float

Returnes Updates for the Probability

Method Details

CalculateCombinedConjunctive() public method

For the List of Arc Calculate the Conjunctive value (min)
public CalculateCombinedConjunctive ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs List of Arc
return float

CalculateCombinedDisjunctive() public method

For the List of Arc Calculate the Disjunctive value (max)
public CalculateCombinedDisjunctive ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs List of Arc
return float

CalculateCombinedIndependent() public method

For the List of Arc Calculate the Combined Independent value
public CalculateCombinedIndependent ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs List of Arc
return float

CalculateEffectiveArcLambda() public method

Calcualtes the Effective Arc Lambda
public CalculateEffectiveArcLambda ( BeliefNode voBeliefNode, Arc voArc ) : float
voBeliefNode BeliefNode
voArc Arc Single Arc
return float

DebugProgress() public method

Debug Process, make sure values line up with LISP code
public DebugProgress ( BeliefNode voNode, Arc voArc, BeliefNode voArcNode, string vsProgress ) : void
voNode BeliefNode Node we are updating
voArc Arc current arc
voArcNode BeliefNode the arc node
vsProgress string message
return void

EvaluateArcExpression() public method

For a single Arc, this evalulate the expressions
public EvaluateArcExpression ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs Arcs
return float

LoadXml() public method

Loads the nodes from Xml
public LoadXml ( string vsFileName ) : void
vsFileName string
return void

UpdateNode() public method

Updates a single node in the Belief Net
public UpdateNode ( BeliefNode voBeliefNode ) : bool
voBeliefNode BeliefNode Belief Node
return bool

UpdateNodes() public method

Updates the Nodes in the Belief Net
public UpdateNodes ( ) : bool
return bool

UpdateProbability() public method

Returnes Updates for the Probability
public UpdateProbability ( BeliefNode voBeliefNode, Arc voArc ) : float
voBeliefNode BeliefNode The BeliefNode
voArc Arc Arc to Evaluate
return float