AutoPas  3.0.0
Loading...
Searching...
No Matches
TuningStrategyLogReplayer.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <memory>
10#include <optional>
11#include <set>
12#include <string>
13
16
17namespace autopas {
24 public:
31 TuningStrategyLogReplayer(std::string filename, std::shared_ptr<TuningStrategyInterface> tuningStrategy,
32 const std::set<Configuration> &searchSpace);
33
38 std::optional<Configuration> replay();
39
40 private:
44 std::string _filename;
48 std::shared_ptr<TuningStrategyInterface> _tuningStrategy;
49
50 std::set<Configuration> _searchSpace;
51};
52} // namespace autopas
This class is able to replay a log file to a tuning strategy to observe its behavior in the logged sc...
Definition: TuningStrategyLogReplayer.h:23
std::optional< Configuration > replay()
Replays the log to the tuning strategy.
Definition: TuningStrategyLogReplayer.cpp:26
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32