68 double cellSizeFactor)
const;
86 std::optional<ContainerOption> containerConstraint = std::nullopt,
87 std::optional<double> csfConstraint = std::nullopt)
const;
101 [[nodiscard]]
bool empty(std::optional<size_t> tuningPhase = std::nullopt)
const;
108 std::map<Configuration, std::vector<Evidence>> _evidenceMap{};
114 size_t _latestTuningPhase{0};
124 case EvidenceCollection::EFFECTIVE:
126 case EvidenceCollection::TRAVERSAL:
128 case EvidenceCollection::TOTAL:
131 return "UnknownEvidenceMode";
Class containing multiple options that form an algorithm configuration for the pairwise iteration.
Definition: Configuration.h:26
Class to manage all evidence.
Definition: EvidenceCollection.h:24
bool empty(std::optional< size_t > tuningPhase=std::nullopt) const
Report if there is any evidence in the collection.
Definition: EvidenceCollection.cpp:108
const std::vector< Evidence > * getEvidence(const Configuration &configuration) const
Returns all evidence collected for a given configuration.
Definition: EvidenceCollection.cpp:22
Evidence & modifyLastEvidence(const Configuration &configuration)
Returns a modifiable reference to the last evidence of a given configuration.
Definition: EvidenceCollection.cpp:30
void addEvidence(const Configuration &configuration, const Evidence &evidence)
Store a piece of evidence in the internal storage.
Definition: EvidenceCollection.cpp:17
std::tuple< Configuration, Evidence > getLatestOptimalConfiguration() const
Retrieve the configuration with the lowest evidence value for the latest tuning phase.
Definition: EvidenceCollection.cpp:104
EvidenceMode
Helper enum to switch between evidence measurements modes.
Definition: EvidenceCollection.h:29
std::tuple< Configuration, Evidence > getBestConfigWithRebuild() const
Retrieve the configuration with the best total evidence.
Definition: EvidenceCollection.cpp:39
std::tuple< Configuration, Evidence > getOptimalConfiguration(size_t tuningPhase, EvidenceMode mode=EFFECTIVE, std::optional< ContainerOption > containerConstraint=std::nullopt, std::optional< double > csfConstraint=std::nullopt) const
Retrieve the configuration with the lowest evidence value for the given tuning phase.
Definition: EvidenceCollection.cpp:43
std::tuple< Configuration, Evidence > getBestConfigForContainerAndCSF(ContainerOption containerOption, double cellSizeFactor) const
Retrieve the configuration with the best reduced evidence for a particular container plus cell size f...
Definition: EvidenceCollection.cpp:34
Helper class that associates a measurement with the iteration when it was taken.
Definition: Evidence.h:15
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:34
std::string format_as(const OwnershipState &state)
This function is needed to pass an ownership state to spdlog/fmt.
Definition: OwnershipState.h:64