The StaircaseFunction class - Function consisting of multiple discrete values.
More...
#include <StaircaseFunction.hh>
|
virtual void | DebugDump (const std::map< const void *, unsigned int > &nodeMapping, data::EvaluationDebugData &debugData) const override final |
| DebugDump - Called from EvaluateContext, which generates additional debug data for each evaluator. Should be overriden in each derived evaluator to better reflect debug tree topology. More...
|
|
template<typename ContextType>
class grail::evaluator::StaircaseFunction< ContextType >
The StaircaseFunction class - Function consisting of multiple discrete values.
- Template Parameters
-
ContextType | - Type of evaluated object. By default - ValueTuple(AIEntity, Blackboard). |
◆ StaircaseFunction()
template<typename ContextType >
StaircaseFunction - Constructor.
- Parameters
-
childEvaluator | - Evaluator which output will be transformed by this curve. |
data | - Collection of data describing discrete values. |
◆ GetData() [1/2]
template<typename ContextType >
GetData.
- Returns
- Collection of data describing discrete values.
◆ GetData() [2/2]
template<typename ContextType >
GetData.
- Returns
- Collection of data describing discrete values.
◆ Sample()
template<typename ContextType >
|
inlinefinaloverridevirtual |
Sample - Transforms argument into output value depending on the type of Curve.
- Parameters
-
argument | - Value of a curve argument belonging to its domain. |
- Returns
- Transformed argument.
Implements grail::evaluator::Curve< ContextType >.
The documentation for this class was generated from the following file: