27  FuzzyRule(
const std::shared_ptr<FuzzySet> &antecedent, 
const std::shared_ptr<FuzzySet> &consequent);
 
   40  [[nodiscard]] 
const std::shared_ptr<FuzzySet> &
getAntecedent() 
const;
 
   46  [[nodiscard]] 
const std::shared_ptr<FuzzySet> &
getConsequent() 
const;
 
   51  explicit operator std::string() 
const;
 
   57  const std::shared_ptr<FuzzySet> _antecedent;
 
   62  const std::shared_ptr<FuzzySet> _consequent;
 
Used to represent a Fuzzy Rule.
Definition: FuzzyRule.h:20
 
const std::shared_ptr< FuzzySet > & getAntecedent() const
Returns the antecedent of the FuzzyRule.
Definition: FuzzyRule.cpp:28
 
const std::shared_ptr< FuzzySet > & getConsequent() const
Returns the consequent of the FuzzyRule.
Definition: FuzzyRule.cpp:30
 
std::shared_ptr< FuzzySet > apply(const FuzzySet::Data &data) const
Applies the FuzzyRule using the given data.
Definition: FuzzyRule.cpp:14
 
std::map< std::string, double > Data
A map of the form {dimension_name: value}.
Definition: FuzzySet.h:81
 
Namespace that contains the fuzzy logic framework used by the FuzzyTuning-strategy.
Definition: namespaces.h:112