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};
28 // Predictive Tuning Options
32 ExtrapolationMethodOption extrapolationMethodOption{ExtrapolationMethodOption::linearRegression};
40 unsigned int maxTuningPhasesWithoutTest{100};
44 unsigned int minNumberOfEvidence{3};
45
46 // Slow Config Filter Options
51
52 // Bayesian Strategies Options
56 AcquisitionFunctionOption acquisitionFunctionOption{AcquisitionFunctionOption::upperConfidenceBound};
57
58 // Rule Based Tuning Options
62 std::string ruleFileName{"tuningRules.rule"};
63
64 // Fuzzy Tuning Options
68 std::string fuzzyRuleFileName{"fuzzyRulesSuitability.frule"};
69
70 // MPI Tuning Options
88};
89} // 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:83
double mpiTuningMaxDifferenceForBucket
Maximum absolute difference in similarity metric for two ranks to fall in the same bucket.
Definition: TuningStrategyFactoryInfo.h:79
std::string ruleFileName
The name and path of the file where the rules are stored.
Definition: TuningStrategyFactoryInfo.h:62
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:56
std::string fuzzyRuleFileName
The name and path of the file where the rules are stored.
Definition: TuningStrategyFactoryInfo.h:68
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:40
double relativeBlacklistRange
Any configuration that is slower than the fastest times this factor will be blacklisted.
Definition: TuningStrategyFactoryInfo.h:50
ExtrapolationMethodOption extrapolationMethodOption
Function option used for extrapolating performance from observed evidence.
Definition: TuningStrategyFactoryInfo.h:32
double relativeOptimumRange
Factor of the range of the optimal configurations for the optimalSearchSpace.
Definition: TuningStrategyFactoryInfo.h:36
unsigned int minNumberOfEvidence
The number of evidence that have to be collected until the first prediction can be made.
Definition: TuningStrategyFactoryInfo.h:44
bool mpiDivideAndConquer
If MPIParallelizedStrategy is in the list of strategies this should be set to true to notify other st...
Definition: TuningStrategyFactoryInfo.h:75
AutoPas_MPI_Comm autopasMpiCommunicator
MPI Communicator used within AutoPas.
Definition: TuningStrategyFactoryInfo.h:87