A configuration pattern that matches zero or more actual configurations, used in the rule language.
More...
#include <RuleBasedProgramTree.h>
|
std::set< ContainerOption > | _containers |
| The allowed containers.
|
|
std::set< TraversalOption > | _traversals |
| The allowed traversals.
|
|
std::set< LoadEstimatorOption > | _loadEstimators |
| The allowed load estimators.
|
|
std::set< DataLayoutOption > | _dataLayouts |
| The allowed data layouts.
|
|
std::set< Newton3Option > | _newton3Options |
| The allowed newton3 options.
|
|
std::set< double > | _cellSizeFactors |
| The allowed cell size factors.
|
|
A configuration pattern that matches zero or more actual configurations, used in the rule language.
A configuration matches a pattern if all its components are allowed in the pattern. (If a component is empty in the pattern, it means that all possible values are allowed).
◆ ConfigurationPattern()
autopas::ConfigurationPattern::ConfigurationPattern |
( |
const ConfigurationPattern & |
configurationPattern | ) |
|
|
default |
Copy Constructor.
- Parameters
-
◆ add()
Adds a value to the allowed values of this configuration pattern.
The component that is modified depends on the contained value of the passed variant. (E.g. if a Newton3Option is passed in the variant, _newton3Options is modified.
- Parameters
-
value | The value to add to the allowed values of the configuration pattern (a variant). |
◆ matches()
bool autopas::ConfigurationPattern::matches |
( |
const Configuration & |
configuration | ) |
const |
|
inline |
- Parameters
-
configuration | the configuration to check |
- Returns
- If the configuration matches this pattern.
◆ toString()
std::string autopas::ConfigurationPattern::toString |
( |
| ) |
const |
|
inline |
- Returns
- A string that represents this configuration pattern.
The documentation for this struct was generated from the following files:
- autopas/tuning/tuningStrategy/ruleBasedTuning/RuleBasedProgramTree.h
- autopas/tuning/tuningStrategy/ruleBasedTuning/RuleBasedProgramTree.cpp