34template <
class... Payload>
36 std::stringstream stream;
47template <
class... Payload>
48std::tuple<Payload...>
fromString(std::stringstream &stream) {
49 std::tuple<Payload...> tuple{};
50 ((stream >> std::get<Payload>(tuple)), ...);
68std::tuple<long, size_t, Configuration>
readEvidence(std::stringstream &str);
81bool readTune(std::stringstream &str);
Class containing multiple options that form an algorithm configuration for the pairwise iteration.
Definition: Configuration.h:24
This class is able to gather and store important information for a tuning phase from a container and ...
Definition: LiveInfo.h:31
Contains some helpers to write and read the tuning log entries.
Definition: namespaces.h:97
std::string writeTune()
Writes a tune entry for the log file into a string.
Definition: TuningLogEntry.cpp:19
bool readTune(std::stringstream &str)
Reads the arguments of a tune entry from the stringstream.
Definition: TuningLogEntry.cpp:21
auto toString(const Payload &...payload)
Writes multiple arguments into a string using their << operator.
Definition: TuningLogEntry.h:35
std::string writeReset(size_t iteration)
Writes a reset entry in the log file to a string.
Definition: TuningLogEntry.cpp:23
size_t readReset(std::stringstream &str)
Reads the arguments of a reset entry in the log file from a string.
Definition: LogToSQLiteWriter.h:52
std::string writeLiveInfo(const autopas::LiveInfo &liveInfo)
Writes a liveInfo entry in the log file to a string.
Definition: TuningLogEntry.cpp:25
std::tuple< long, size_t, Configuration > readEvidence(std::stringstream &str)
Reads the arguments of an evidence entry in the log file from a stringstream.
Definition: TuningLogEntry.cpp:15
std::tuple< Payload... > fromString(std::stringstream &stream)
Reads multiple values from a stringstream using their >> operator.
Definition: TuningLogEntry.h:48
autopas::LiveInfo readLiveInfo(std::stringstream &str)
Reads the arguments of a live info entry in the log file from a stringstream.
Definition: TuningLogEntry.cpp:27
void toStringHelper(std::ostream &in, const T &val)
Writes the given argument into the given ostream with following white space.
Definition: TuningLogEntry.h:24
std::string writeEvidence(long time, size_t iteration, const autopas::Configuration &config)
Writes evidence to a string.
Definition: TuningLogEntry.cpp:11