Used to store the mapping information to transform the result of the fuzzy controller into a configuration suitable for AutoPas.
More...
#include <OutputMapper.h>
Used to store the mapping information to transform the result of the fuzzy controller into a configuration suitable for AutoPas.
◆ OutputMapper()
OutputMapper::OutputMapper |
( |
std::string |
outputDomain, |
|
|
std::vector< std::pair< double, std::vector< ConfigurationPattern > > > |
mappings |
|
) |
| |
Constructor of the OutputMapper.
- Parameters
-
outputDomain | The domain of the output variable. |
mappings | A vector of pairs of the form {value, configurationPatterns}. |
◆ getClosestConfigurationPatterns()
Returns the closest configuration patterns to the given value.
- Parameters
-
value | The value to search for. |
- Returns
- The closest configuration patterns to the given value.
◆ getMappings()
const std::vector< std::pair< double, std::vector< ConfigurationPattern > > > & autopas::FuzzyLogic::OutputMapper::getMappings |
( |
| ) |
const |
|
inline |
Getter for the mappings.
- Returns
- The mappings.
◆ getOutputDomain()
const std::string & OutputMapper::getOutputDomain |
( |
| ) |
|
Getter for the output domain.
- Returns
- The output domain.
The documentation for this class was generated from the following files: