public class FuzzyFGPClassifier extends Classifier
FuzzyFGPClassifier is designed to allow a Fuzzy Classifier evolve by means of
an Genetic Programming (GP). This class is a specification of the class
Classifier
.
Constructor and Description |
---|
FuzzyFGPClassifier(FuzzyFGPClassifier cb)
Copy constructor of this class, which clones its components
|
FuzzyFGPClassifier(NodeRuleBase pR,
FuzzyPartition c)
Class constructor using the following parameters:
|
Modifier and Type | Method and Description |
---|---|
Classifier |
clone()
This method clones the current object.
|
void |
debug()
This method prints information about the Rule Base useful for debugging purposes
|
double[] |
evaluate(double[] x)
This method evaluates the classifier for a given input example.
|
java.lang.String |
output()
This method prints information about the Rule Base useful for debugging purposes
|
void |
set(FuzzyFGPClassifier cb)
This method copies the given FuzzyFGPClassifier in the current object.
|
getMaximum
public FuzzyFGPClassifier(NodeRuleBase pR, FuzzyPartition c)
Class constructor using the following parameters:
pR
- the NodeRuleBase
c
- the class variable FuzzyPartition
public FuzzyFGPClassifier(FuzzyFGPClassifier cb)
Copy constructor of this class, which clones its components
cb
- the FuzzyFGPClassifier
to copypublic void set(FuzzyFGPClassifier cb)
This method copies the given FuzzyFGPClassifier in the current object.
cb
- the FuzzyFGPClassifier
object to be assigned to the current onepublic void debug()
This method prints information about the Rule Base useful for debugging purposes
debug
in class Classifier
public java.lang.String output()
This method prints information about the Rule Base useful for debugging purposes
output
in class Classifier
public Classifier clone()
This method clones the current object.
clone
in class Classifier
Classifier
object which is a perfect copy of the current one.public double[] evaluate(double[] x)
This method evaluates the classifier for a given input example.
evaluate
in class Classifier
x
- array of doubles with the example to evaluate the classifier