Evaulate a context value in relation to a bool, and return one of two scores depending on the result. More...
Protected Member Functions | |
override float | MakeConsideration (IContext context) |
Additional Inherited Members | |
Public Member Functions inherited from TenPN.DecisionFlex.Consideration | |
float | Consider (IContext context) |
Evaulate a context value in relation to a bool, and return one of two scores depending on the result.
For example, fetch the isAlive string from the IContext, and if it is true return a score of one (saying this action can go ahead), otherwise return a score of zero (saying this action can't possibly go ahead).
|
inlineprotectedvirtual |
Score this IContext. Called once per IContext produced by the ContextFactory during a decision.
Implements TenPN.DecisionFlex.Consideration.