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
46 void logTuningResult(const autopas::Configuration &configuration, size_t iteration, long timeTuning,
47 long optimumPerformance) const;
48
49 private:
50 std::string _loggerName;
51};
52
53} // namespace autopas
Class containing multiple options that form an algorithm configuration for the pairwise iteration.
Definition: Configuration.h:24
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 autopas::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:32