Representation of a utility function for GOB. More...
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. |
Representation of a utility function for GOB.
RAIN.GOB.GOBTree.GOBUtilityNode.GOBUtilityNode | ( | string | nodeName | ) |
Default constructor.
nodeName | Name of node in the BehaviorTree |
void RAIN.GOB.GOBTree.GOBUtilityNode.SetExpression | ( | string | expression | ) |
Set the utility expression using parseable text.
expression | The text expression to parse. See Belief.AssignmentExpressionParser. |
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.