PredictionContainer< DerivedT > Class Template Reference

Can do predictions itself and has children it could delegate predictions to. More...

#include <RobotAPI/libraries/armem/server/wm/detail/Prediction.h>

+ Inheritance diagram for PredictionContainer< DerivedT >:

Public Member Functions

std::vector< PredictionResultdispatchPredictions (const std::vector< PredictionRequest > &requests)
 
PredictionResult dispatchTargetedPrediction (const PredictionRequest &request, const MemoryID &target)
 Semantics: This container or one of its children (target) is responsible for performing the prediction. More...
 
 PredictionContainer (const std::map< PredictionEngine, Predictor > &predictors={})
 
- Public Member Functions inherited from Prediction< DerivedT >
void addPredictor (const PredictionEngine &engine, Predictor &&predictor)
 
std::vector< PredictionResultdispatchPredictions (const std::vector< PredictionRequest > &requests)
 Resolves mapping of requests to predictors and dispatches them. More...
 
PredictionResult dispatchTargetedPrediction (const PredictionRequest &request, const MemoryID &target)
 Dispatches a single prediction request (assuming resolution was done by the caller). More...
 
 Prediction (const std::map< PredictionEngine, Predictor > &predictors={})
 
void setPredictors (const std::map< PredictionEngine, Predictor > &predictors)
 

Detailed Description

template<class DerivedT>
class armarx::armem::server::wm::detail::PredictionContainer< DerivedT >

Can do predictions itself and has children it could delegate predictions to.

Definition at line 158 of file Prediction.h.

Constructor & Destructor Documentation

◆ PredictionContainer()

PredictionContainer ( const std::map< PredictionEngine, Predictor > &  predictors = {})
inlineexplicit

Definition at line 163 of file Prediction.h.

Member Function Documentation

◆ dispatchPredictions()

std::vector<PredictionResult> dispatchPredictions ( const std::vector< PredictionRequest > &  requests)
inline

Definition at line 169 of file Prediction.h.

+ Here is the caller graph for this function:

◆ dispatchTargetedPrediction()

PredictionResult dispatchTargetedPrediction ( const PredictionRequest request,
const MemoryID target 
)
inline

Semantics: This container or one of its children (target) is responsible for performing the prediction.

Definition at line 222 of file Prediction.h.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: