C# Класс UnityAI.Core.Belief.BeliefNet

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

CalculateCombinedConjunctive() публичный Метод

For the List of Arc Calculate the Conjunctive value (min)
public CalculateCombinedConjunctive ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs List of Arc
Результат float

CalculateCombinedDisjunctive() публичный Метод

For the List of Arc Calculate the Disjunctive value (max)
public CalculateCombinedDisjunctive ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs List of Arc
Результат float

CalculateCombinedIndependent() публичный Метод

For the List of Arc Calculate the Combined Independent value
public CalculateCombinedIndependent ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs List of Arc
Результат float

CalculateEffectiveArcLambda() публичный Метод

Calcualtes the Effective Arc Lambda
public CalculateEffectiveArcLambda ( BeliefNode voBeliefNode, Arc voArc ) : float
voBeliefNode BeliefNode
voArc Arc Single Arc
Результат float

DebugProgress() публичный Метод

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
Результат void

EvaluateArcExpression() публичный Метод

For a single Arc, this evalulate the expressions
public EvaluateArcExpression ( BeliefNode voBeliefNode, Arcs voArcs ) : float
voBeliefNode BeliefNode
voArcs Arcs Arcs
Результат float

LoadXml() публичный Метод

Loads the nodes from Xml
public LoadXml ( string vsFileName ) : void
vsFileName string
Результат void

UpdateNode() публичный Метод

Updates a single node in the Belief Net
public UpdateNode ( BeliefNode voBeliefNode ) : bool
voBeliefNode BeliefNode Belief Node
Результат bool

UpdateNodes() публичный Метод

Updates the Nodes in the Belief Net
public UpdateNodes ( ) : bool
Результат bool

UpdateProbability() публичный Метод

Returnes Updates for the Probability
public UpdateProbability ( BeliefNode voBeliefNode, Arc voArc ) : float
voBeliefNode BeliefNode The BeliefNode
voArc Arc Arc to Evaluate
Результат float