AutoPas  3.0.0
Loading...
Searching...
No Matches
Evidence.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <cstddef>
10
11namespace autopas {
15class Evidence {
16 public:
20 size_t iteration;
28 long value;
29
35 bool operator==(const Evidence &rhs) const;
41 bool operator!=(const Evidence &rhs) const;
42};
43} // namespace autopas
Helper class that associates a measurement with the iteration when it was taken.
Definition: Evidence.h:15
size_t iteration
Iteration in which the measurement was taken.
Definition: Evidence.h:20
long value
Value of the measurement (time, energy, ...).
Definition: Evidence.h:28
size_t tuningPhase
Tuning phase in which the measurement was taken.
Definition: Evidence.h:24
bool operator==(const Evidence &rhs) const
Equality operator.
Definition: Evidence.cpp:8
bool operator!=(const Evidence &rhs) const
Inequality operator.
Definition: Evidence.cpp:11
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32