AutoPas  3.0.0
Loading...
Searching...
No Matches
TuningDataLogger.h
Go to the documentation of this file.
1
7#pragma once
8
10
11namespace autopas {
12
22 public:
28 explicit TuningDataLogger(size_t numSamples, const std::string &outputSuffix = "");
29
34
45 void logTuningData(const autopas::Configuration &configuration,
46 const std::vector<long> &samplesRebuildingNeighborLists,
47 const std::vector<long> &samplesNotRebuildingNeighborLists, size_t iteration, long reducedValue,
48 long smoothedVale, double meanRebuildFrequency) const;
49
50 private:
51 std::string _loggerName;
52};
53
54} // namespace autopas
Class containing multiple options that form an algorithm configuration for the pairwise iteration.
Definition: Configuration.h:24
Helper to log results of the tuning process to a csv file for easier analysis.
Definition: TuningDataLogger.h:21
~TuningDataLogger()
Destructor drops the logger from the spd registry.
Definition: TuningDataLogger.cpp:41
void logTuningData(const autopas::Configuration &configuration, const std::vector< long > &samplesRebuildingNeighborLists, const std::vector< long > &samplesNotRebuildingNeighborLists, size_t iteration, long reducedValue, long smoothedVale, double meanRebuildFrequency) const
Log the result of a tuning phase.
Definition: TuningDataLogger.cpp:47
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32