Flex.Rule (FLex v0.2.2)
View SourceAn interface to create Linguistic Rules.
Summary
Functions
Fuzzy AND operator.
Fuzzy THEN operator.
Gets the arguments of the Fuzzy Rule
Creates a Linguistic Rule.
Fuzzy Rules AST (Tuple).
Fuzzy AND operator (product).
Fuzzy OR operator.
Fuzzy IS operator.
Types
@type t() :: %Flex.Rule{ antecedent: [Flex.Variable.t(), ...], consequent: Flex.Variable.t(), statement: fun() | tuple() }
Linguistic Rule struct.
:statement
- Rules behavior.:antecedent
- (list) Input variables.:consequent
- Output variable.
Functions
Fuzzy AND operator.
Fuzzy THEN operator.
Gets the arguments of the Fuzzy Rule
Creates a Linguistic Rule.
The following options are require:
:statement
- Defines the rule behavior.:antecedent
- (list) Defines the input variables.:consequent
- Defines the output variable.
Fuzzy Rules AST (Tuple).
Fuzzy AND operator (product).
Fuzzy OR operator.
Fuzzy IS operator.