AutoPas  3.0.0
Loading...
Searching...
No Matches
TuningStrategyFactoryInfo.h
Go to the documentation of this file.
1
7#pragma once
8
9#include <string>
10
15
16namespace autopas {
17
23 // Used by multiple Strategies
27 unsigned int maxEvidence{10};
31 InteractionTypeOption interactionType;
32 // Predictive Tuning Options
36 ExtrapolationMethodOption extrapolationMethodOption{ExtrapolationMethodOption::linearRegression};
44 unsigned int maxTuningPhasesWithoutTest{100};
48 unsigned int minNumberOfEvidence{3};
49
50 // Slow Config Filter Options
55
56 // Bayesian Strategies Options
60 AcquisitionFunctionOption acquisitionFunctionOption{AcquisitionFunctionOption::upperConfidenceBound};
61
62 // Rule Based Tuning Options
66 std::string ruleFileName{"tuningRules.rule"};
67
68 // Fuzzy Tuning Options
72 std::string fuzzyRuleFileName{"fuzzyRulesSuitability.frule"};
73
74 // MPI Tuning Options
92};
93} // namespace autopas
#define AUTOPAS_MPI_COMM_NULL
Wrapper for MPI_COMM_NULL.
Definition: WrapMPI.h:118
This is the main namespace of AutoPas.
Definition: AutoPasDecl.h:32
AutoPas_MPI_Comm
Dummy for MPI_Comm.
Definition: WrapMPI.h:113
Helper struct encapsulating most information needed to build TuningStrategies by the TuningStrategyFa...
Definition: TuningStrategyFactoryInfo.h:22
double mpiTuningWeightForMaxDensity
Weight for maxDensity in the calculation for bucket distribution.
Definition: TuningStrategyFactoryInfo.h:87
double mpiTuningMaxDifferenceForBucket
Maximum absolute difference in similarity metric for two ranks to fall in the same bucket.
Definition: TuningStrategyFactoryInfo.h:83
std::string ruleFileName
The name and path of the file where the rules are stored.
Definition: TuningStrategyFactoryInfo.h:66
unsigned int maxEvidence
Strategies that don't converge (or not quickly enough) can be told to limit the number of evidence to...
Definition: TuningStrategyFactoryInfo.h:27
AcquisitionFunctionOption acquisitionFunctionOption
Function used to predict informational gain.
Definition: TuningStrategyFactoryInfo.h:60
std::string fuzzyRuleFileName
The name and path of the file where the rules are stored.
Definition: TuningStrategyFactoryInfo.h:72
unsigned int maxTuningPhasesWithoutTest
If a config is not tested for this number of tuning phases test it again to make predictions more rel...
Definition: TuningStrategyFactoryInfo.h:44
double relativeBlacklistRange
Any configuration that is slower than the fastest times this factor will be blacklisted.
Definition: TuningStrategyFactoryInfo.h:54
ExtrapolationMethodOption extrapolationMethodOption
Function option used for extrapolating performance from observed evidence.
Definition: TuningStrategyFactoryInfo.h:36
double relativeOptimumRange
Factor of the range of the optimal configurations for the optimalSearchSpace.
Definition: TuningStrategyFactoryInfo.h:40
unsigned int minNumberOfEvidence
The number of evidence that have to be collected until the first prediction can be made.
Definition: TuningStrategyFactoryInfo.h:48
bool mpiDivideAndConquer
If MPIParallelizedStrategy is in the list of strategies this should be set to true to notify other st...
Definition: TuningStrategyFactoryInfo.h:79
InteractionTypeOption interactionType
Interaction type for which tuning strategies should be created.
Definition: TuningStrategyFactoryInfo.h:31
AutoPas_MPI_Comm autopasMpiCommunicator
MPI Communicator used within AutoPas.
Definition: TuningStrategyFactoryInfo.h:91