Representation of an insistence measure for GOB. More...
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. | |
Representation of an insistence measure for GOB.
| RAIN.GOB.GOBTree.GOBInsistenceNode.GOBInsistenceNode | ( | string | nodeName | ) |
Default constructor.
| nodeName | Name of node in the BehaviorTree |
| float RAIN.GOB.GOBTree.GOBInsistenceNode.Evaluate | ( | float | deltaTime, |
| ActionContext | context | ||
| ) |
Evaluate the insistence constrained by the stored min and max values.
| deltaTime | |
| context |
| void RAIN.GOB.GOBTree.GOBInsistenceNode.SetExpression | ( | string | expression | ) |
Set the insistence expression using parseable text.
| expression | The text expression to parse. See Belief.ExpressionParser. |
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.