The Concave class is an edge Term that represents the concave membership function.
More...
#include <Concave.h >
The Concave class is an edge Term that represents the concave membership function.
concave.svg
Author Juan Rada-Vilela, Ph.D.
See also Term
Variable
Since 5.0
Definition at line 35 of file Concave.h .
◆ Concave()
fl::Concave::Concave
(
const std::string &
name = ""
,
scalar
inflection = fl::nan
,
scalar
end = fl::nan
,
scalar
height = 1.0
)
explicit
◆ ~Concave()
virtual fl::Concave::~Concave
(
)
virtual
◆ className()
virtual std::string fl::Concave::className
(
)
const
virtual
Returns the name of the class of the term.
Returns the name of the class of the term
Implements fl::Term .
◆ clone()
virtual Concave * fl::Concave::clone
(
)
const
virtual
Creates a clone of the term.
Returns a clone of the term
Implements fl::Term .
◆ complexity()
virtual Complexity fl::Concave::complexity
(
)
const
virtual
Computes the estimated complexity of evaluating the membership function.
Returns the estimated complexity of evaluating the membership function
Implements fl::Term .
◆ configure()
virtual void fl::Concave::configure
(
const std::string &
parameters )
virtual
Configures the term with the parameters given.
Parameters
parameters as "inflection end [height]"
Implements fl::Term .
◆ constructor()
static Term * fl::Concave::constructor
(
)
static
◆ getEnd()
virtual scalar fl::Concave::getEnd
(
)
const
virtual
Gets the end of the curve.
Returns the end of the curve
◆ getInflection()
virtual scalar fl::Concave::getInflection
(
)
const
virtual
Gets the inflection of the curve.
Returns the inflection of the curve
◆ isMonotonic()
virtual bool fl::Concave::isMonotonic
(
)
const
virtual
◆ membership()
Computes the membership function evaluated at \(x\).
Parameters
Returns \(\begin{cases} h \times (e - i) / (2e - i - x) & \mbox{if $i \leq e \wedge x < e$ (increasing concave)} \cr h \times (i - e) / (-2e + i + x) & \mbox{if $i > e \wedge x > e$ (decreasing concave)} \cr h & \mbox{otherwise} \cr \end{cases}\)
where \(h\) is the height of the Term , \(i\) is the inflection of the Concave , \(e\) is the end of the Concave
Implements fl::Term .
◆ parameters()
virtual std::string fl::Concave::parameters
(
)
const
virtual
Returns the parameters of the term as.
Returns "inflection end [height]"
Implements fl::Term .
◆ setEnd()
virtual void fl::Concave::setEnd
(
scalar
end )
virtual
Sets the end of the curve.
Parameters
end is the end of the curve
◆ setInflection()
virtual void fl::Concave::setInflection
(
scalar
inflection )
virtual
Sets the inflection of the curve.
Parameters
inflection is the inflection of the curve
◆ tsukamoto()
The documentation for this class was generated from the following file: