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

Class representing the choices for the membership functions. More...

#include <FuzzySetFactory.h>

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

Public Types

enum  Value {
  Triangle , Trapezoid , Gaussian , Sigmoid ,
  SigmoidFinite
}
 Enum for the different defuzzification methods. More...
 

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Class representing the choices for the membership functions.

Member Enumeration Documentation

◆ Value

Enum for the different defuzzification methods.

Enumerator
Triangle 

Triangle function.

Trapezoid 

Trapezoid function.

Gaussian 

Gaussian function.

Sigmoid 

Sigmoid function.

SigmoidFinite 

SigmoidFinite function.

Constructor & Destructor Documentation

◆ MembershipFunctionOption()

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

Constructor from value.

Parameters
option

Member Function Documentation

◆ getOptionNames()

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

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

Returns
map option -> string representation

◆ operator Value()

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

Cast to value.

Returns

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