RAIN.GOB.GOBTree.GOBInsistenceNode Class Reference

Representation of an insistence measure for GOB. More...

Inheritance diagram for RAIN.GOB.GOBTree.GOBInsistenceNode:
RAIN.BehaviorTrees.BTNode RAIN.Action.Action

List of all members.

Public Member Functions

 GOBInsistenceNode (string nodeName)
 Default constructor.
void SetExpression (string expression)
 Set the insistence expression using parseable text.
float Evaluate (float deltaTime, ActionContext context)
 Evaluate the insistence constrained by the stored min and max values.

Public Attributes

const string NODETYPE = "insistence"

Properties

float MinValue [get, set]
 Min value for the expression.
float MaxValue [get, set]
 Max value for the expression.
Expression Insistence [get, set]
 The Expression describing the insistence measure.

Detailed Description

Representation of an insistence measure for GOB.


Constructor & Destructor Documentation

RAIN.GOB.GOBTree.GOBInsistenceNode.GOBInsistenceNode ( string  nodeName)

Default constructor.

Parameters:
nodeNameName of node in the BehaviorTree

Member Function Documentation

float RAIN.GOB.GOBTree.GOBInsistenceNode.Evaluate ( float  deltaTime,
ActionContext  context 
)

Evaluate the insistence constrained by the stored min and max values.

Parameters:
deltaTime
context
void RAIN.GOB.GOBTree.GOBInsistenceNode.SetExpression ( string  expression)

Set the insistence expression using parseable text.

Parameters:
expressionThe text expression to parse. See Belief.ExpressionParser.

Property Documentation

Expression RAIN.GOB.GOBTree.GOBInsistenceNode.Insistence [get, set]

The Expression describing the insistence measure.

float RAIN.GOB.GOBTree.GOBInsistenceNode.MaxValue [get, set]

Max value for the expression.

float RAIN.GOB.GOBTree.GOBInsistenceNode.MinValue [get, set]

Min value for the expression.