|
| | DoubleSidedBound (std::shared_ptr< utility::Evaluator< ContextType >> childEvaluator, float lowerBound, float upperBound) |
| | DoubleSidedBound - Constructor. More...
|
| |
| virtual float | Sample (float argument) const override final |
| | Sample - Transforms argument into output value depending on the type of Curve. More...
|
| |
|
EvaluatorType | GetEvaluatorType () const override final |
| |
| | Curve (std::shared_ptr< utility::Evaluator< ContextType >> childEvaluator) |
| | Curve - Constructor. More...
|
| |
|
| Curve (const Curve< ContextType > &other)=default |
| |
|
| Curve (Curve< ContextType > &&other)=default |
| |
| virtual float | Evaluate (const ContextType &context, UtilityEvaluatorSnapshot *const snapshot) const override final |
| | Evaluate - Called from EvaluateContext which also evaluates context, but without automatically filling snapshot with debug data. Should be overriden for each derived Evaluator. More...
|
| |
| float | EvaluateContext (const ContextType &context, UtilityEvaluatorSnapshot *const snapshot) const |
| | EvaluateContext - evaluates provided context and if provided snapshot is not empty, fills it with debug data describing this node. More...
|
| |
template<typename ContextType>
class grail::curves::DoubleSidedBound< ContextType >
The DoubleSidedBound class - Bounds output of provided Evaluator from both sides.
- Template Parameters
-
| ContextType | - Type of evaluated object. By default - ValueTuple(AIEntity, Blackboard). |