|
Can do predictions, but has no children it could delegate predictions to. More...
#include <RobotAPI/libraries/armem/server/wm/detail/Prediction.h>
Public Member Functions | |
void | addPredictor (const PredictionEngine &engine, Predictor &&predictor) |
std::vector< PredictionResult > | dispatchPredictions (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) |
Can do predictions, but has no children it could delegate predictions to.
This class is integrated with armem::base::detail::Predictive
: If DerivedT
is also a Predictive
, the setters of this class also update the Predictive
part.
Definition at line 52 of file Prediction.h.
|
inlineexplicit |
Definition at line 62 of file Prediction.h.
|
inline |
|
inline |
Resolves mapping of requests to predictors and dispatches them.
In this case, the resolution is basically no-op because there are no children.
Definition at line 99 of file Prediction.h.
|
inline |
Dispatches a single prediction request (assuming resolution was done by the caller).
Definition at line 114 of file Prediction.h.
|
inline |
Definition at line 79 of file Prediction.h.