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

A factory class that creates FuzzySets based on the given activation function. More...

#include <FuzzySetFactory.h>

Public Member Functions

 FuzzySetFactory ()=delete
 Deleted constructor to prevent instantiation of this class.
 

Static Public Member Functions

static std::shared_ptr< FuzzySetmakeFuzzySet (const std::string &linguisticTerm, const std::string &functionName, const std::vector< double > &params)
 Constructs a FuzzySet with the given linguistic term, based on the given activation function.
 

Detailed Description

A factory class that creates FuzzySets based on the given activation function.

Member Function Documentation

◆ makeFuzzySet()

std::shared_ptr< FuzzySet > autopas::FuzzyLogic::FuzzySetFactory::makeFuzzySet ( const std::string &  linguisticTerm,
const std::string &  functionName,
const std::vector< double > &  params 
)
static

Constructs a FuzzySet with the given linguistic term, based on the given activation function.

Parameters
linguisticTermThe linguistic term of this FuzzySet.
functionNameThe name of the function to create.
paramsThe parameters of the function.
Returns
A shared pointer to the created FuzzySet.

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