AutoPas  3.0.0
Loading...
Searching...
No Matches
TuningResultLogger.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <spdlog/async.h>
10
13
14namespace autopas {
15
25 public:
31 explicit TuningResultLogger(const std::string &outputSuffix = "",
33
38
48 void logTuningResult(const Configuration &configuration, size_t iteration, long timeTuning,
49 long optimumPerformance) const;
50
51 private:
52 std::string _loggerName;
53};
54
55} // namespace autopas
Class containing multiple options that form an algorithm configuration for the pairwise iteration.
Definition: Configuration.h:26
Class representing the load estimator choices.
Definition: TuningMetricOption.h:18
@ time
Optimize for shortest simulation time.
Definition: TuningMetricOption.h:27
Helper to log results of the tuning process to a csv file for easier analysis.
Definition: TuningResultLogger.h:24
~TuningResultLogger()
Destructor drops the logger from the spd registry.
Definition: TuningResultLogger.cpp:34
void logTuningResult(const Configuration &configuration, size_t iteration, long timeTuning, long optimumPerformance) const
Log the result of a tuning phase.
Definition: TuningResultLogger.cpp:40
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:34