This class is able to replay a log file to a tuning strategy to observe its behavior in the logged scenario. More...
#include <TuningStrategyLogReplayer.h>
Public Member Functions | |
TuningStrategyLogReplayer (std::string filename, std::shared_ptr< TuningStrategyInterface > tuningStrategy, const std::set< Configuration > &searchSpace) | |
Creates a log replayer from a log file and a tuning strategy to replay to. | |
std::optional< Configuration > | replay () |
Replays the log to the tuning strategy. | |
This class is able to replay a log file to a tuning strategy to observe its behavior in the logged scenario.
Can only provide evidence for configurations that has actually been logged, so make sure the necessary data is in the log. Collecting data with FullSearch ensures this.
autopas::TuningStrategyLogReplayer::TuningStrategyLogReplayer | ( | std::string | filename, |
std::shared_ptr< TuningStrategyInterface > | tuningStrategy, | ||
const std::set< Configuration > & | searchSpace | ||
) |
Creates a log replayer from a log file and a tuning strategy to replay to.
filename | The name of the log file. |
tuningStrategy | The tuning strategy to replay to. |
searchSpace | The available search space. |
std::optional< Configuration > autopas::TuningStrategyLogReplayer::replay | ( | ) |
Replays the log to the tuning strategy.