RAIN.GOB.GOBTree.GOBUtilityNode Class Reference

Representation of a utility function for GOB. More...

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

List of all members.

Public Member Functions

 GOBUtilityNode (string nodeName)
 Default constructor.
void SetExpression (string expression)
 Set the utility expression using parseable text.
void EvaluateAndStore (float deltaTime, ActionContext results)

Public Attributes

const string NODETYPE = "utility"

Properties

float MinValue [get, set]
 Min value for the expression.
float MaxValue [get, set]
 Max value for the expression.
AssignmentExpression Utility [get, set]
 The AssignmentExpression representing a Utility function.

Detailed Description

Representation of a utility function for GOB.


Constructor & Destructor Documentation

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

Default constructor.

Parameters:
nodeNameName of node in the BehaviorTree

Member Function Documentation

void RAIN.GOB.GOBTree.GOBUtilityNode.SetExpression ( string  expression)

Set the utility expression using parseable text.

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

Property Documentation

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

Max value for the expression.

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

Min value for the expression.

AssignmentExpression RAIN.GOB.GOBTree.GOBUtilityNode.Utility [get, set]

The AssignmentExpression representing a Utility function.