The Any class is a special Hedge that always returns 1.0
.
More...
#include <Any.h>
Public Member Functions | |
Any () | |
virtual | ~Any () FL_IOVERRIDE |
virtual std::string | name () const FL_IOVERRIDE |
Returns the name of the hedge. More... | |
virtual Complexity | complexity () const FL_IOVERRIDE |
Computes the estimated complexity of applying the hedge. More... | |
virtual scalar | hedge (scalar x) const FL_IOVERRIDE |
Computes the hedge for the given value. More... | |
virtual Any * | clone () const FL_IOVERRIDE |
Creates a clone of the hedge. More... | |
Public Member Functions inherited from fl::Hedge | |
Hedge () | |
virtual | ~Hedge () |
Static Public Member Functions | |
static Hedge * | constructor () |
The Any class is a special Hedge that always returns 1.0
.
Its position with respect to the other hedges is last in the ordered set (Not, Seldom, Somewhat, Very, Extremely, Any). The Antecedent of a Rule considers Any to be a syntactically special hedge because it is not followed by a Term (e.g., if Variable is any then...
). Amongst hedges, only Any has virtual methods to be overriden due to its particular case.
fl::Any::Any | ( | ) |
|
virtual |
|
virtual |
|
virtual |
Computes the estimated complexity of applying the hedge.
Implements fl::Hedge.
|
static |
|
virtual |