AutoPas  3.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
autopas::FuzzyLogic::DefuzzificationMethodOption Class Reference

Used to represent the different defuzzification methods. More...

#include <FuzzySet.h>

Inheritance diagram for autopas::FuzzyLogic::DefuzzificationMethodOption:
Inheritance graph
[legend]
Collaboration diagram for autopas::FuzzyLogic::DefuzzificationMethodOption:
Collaboration graph
[legend]

Public Types

enum  Value { CoG , MoM }
 Enum for the different defuzzification methods. More...
 

Public Member Functions

 DefuzzificationMethodOption ()=default
 Constructor.
 
constexpr DefuzzificationMethodOption (Value option)
 Constructor from value.
 
constexpr operator Value () const
 Cast to value.
 

Static Public Member Functions

static std::map< DefuzzificationMethodOption, std::string > getOptionNames ()
 Provides a way to iterate over the possible choices of DefuzzificationMethod.
 

Detailed Description

Used to represent the different defuzzification methods.

Member Enumeration Documentation

◆ Value

Enum for the different defuzzification methods.

Enumerator
CoG 

Center of Gravity.

MoM 

Mean of Maximum.

Constructor & Destructor Documentation

◆ DefuzzificationMethodOption()

constexpr autopas::FuzzyLogic::DefuzzificationMethodOption::DefuzzificationMethodOption ( Value  option)
inlineconstexpr

Constructor from value.

Parameters
option

Member Function Documentation

◆ getOptionNames()

static std::map< DefuzzificationMethodOption, std::string > autopas::FuzzyLogic::DefuzzificationMethodOption::getOptionNames ( )
inlinestatic

Provides a way to iterate over the possible choices of DefuzzificationMethod.

Returns
map option -> string representation

◆ operator Value()

constexpr autopas::FuzzyLogic::DefuzzificationMethodOption::operator Value ( ) const
inlineconstexpr

Cast to value.

Returns

The documentation for this class was generated from the following file: