The MinAggregator class - Evaluator aggregating multiple other Evaluators' scores into one output by taking the lowest of those values.  
 More...
#include <MinAggregator.hh>
|  | 
| 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... 
 | 
|  | 
| virtual void | DebugDump (const std::map< const void *, std::size_t > &nodeMapping, EvaluationDebugData &debugData) const override | 
|  | 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... 
 | 
|  | 
|  | 
| std::vector< std::shared_ptr< Evaluator< ContextType > > > | childEvaluators {} | 
|  | 
template<typename ContextType>
class grail::utility::MinAggregator< ContextType >
The MinAggregator class - Evaluator aggregating multiple other Evaluators' scores into one output by taking the lowest of those values. 
- Template Parameters
- 
  
    | ContextType | - Type of evaluated object. By default - ValueTuple(AIEntity, Blackboard). |  
 
◆ MinAggregator()
template<typename ContextType > 
 
MinAggregator - Constructor. 
- Parameters
- 
  
    | childEvaluators | - All evaluators which scores should be aggregated during evaluation of this node. |  
 
 
 
◆ Evaluate()
template<typename ContextType > 
  
  |  | inlinefinaloverrideprotectedvirtual | 
 
Evaluate - Called from EvaluateContext which also evaluates context, but without automatically filling snapshot with debug data. Should be overriden for each derived Evaluator. 
- Parameters
- 
  
    | context | - Input data for evaluation |  | snapshot | - Evaluator snapshot containing debug data describing whole evaluator tree. |  
 
- Returns
- Numerical evaluation of provided context. 
Implements grail::utility::Evaluator< ContextType >.
 
 
The documentation for this class was generated from the following file: