public class FuzzyModel extends Model
Fuzzy model. Wrappers used with genetic algorithms
Constructor and Description |
---|
FuzzyModel(FuzzyModel m)
Construxtor.
|
FuzzyModel(FuzzyPartition[] a,
FuzzyPartition b,
int c,
int d,
int td)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Model |
clone()
This method clone a fuzzy model
|
void |
debug()
This method is for debug
|
double |
output(double[] x)
This method defuzzified the output and return a value
|
void |
set(FuzzyModel m)
This method asign a fuzzy mothed to another one
|
public FuzzyModel(FuzzyPartition[] a, FuzzyPartition b, int c, int d, int td)
Constructor. Generate a new rule base
a
- The fuzzy partitionb
- The fuzzy partitionc
- d
- td
- Type of defuzzifierpublic FuzzyModel(FuzzyModel m)
Construxtor. Generate a new rule base besed in another fuzzy model
m
- The fuzzy modelpublic void set(FuzzyModel m)
This method asign a fuzzy mothed to another one
m
- The fuzzy modelpublic double output(double[] x)
This method defuzzified the output and return a value