public class GenT2z_Rule
extends java.lang.Object
Constructor and Description |
---|
GenT2z_Rule(GenT2z_Antecedent[] antecedents,
GenT2z_Consequent consequent)
Creates a new instance of GenT2_Rule with a single consequent.
|
GenT2z_Rule(GenT2z_Antecedent[] antecedents,
GenT2z_Consequent[] consequents)
Creates a new instance of GenT2_Rule with one or more consequent(s).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object rule) |
GenT2z_Antecedent[] |
getAntecedents() |
java.util.Iterator<GenT2z_Consequent> |
getConsequentIterator() |
GenT2z_Consequent[] |
getConsequents() |
java.util.Iterator<GenT2z_Consequent> |
getConsequentsIterator() |
Input[] |
getInputs()
Returns the inputs of the antecedents used in the current rule.
|
int |
getNumberOfAntecedents() |
int |
getNumberOfConsequents() |
Output |
getOutput()
Returns the output associated with the (currently single) consequent.
|
java.util.TreeMap<Output,GenT2zMF_Intersection> |
getRawOutput() |
IT2_Rule[] |
getRuleasIT2Rules()
Produces a series of interval type-2 rules where each rule represents one
zLevel of the underlying zSlices rule.
|
java.lang.String |
toString() |
public GenT2z_Rule(GenT2z_Antecedent[] antecedents, GenT2z_Consequent consequent)
public GenT2z_Rule(GenT2z_Antecedent[] antecedents, GenT2z_Consequent[] consequents)
public java.util.Iterator<GenT2z_Consequent> getConsequentsIterator()
public Input[] getInputs()
public Output getOutput()
public java.util.TreeMap<Output,GenT2zMF_Intersection> getRawOutput()
public IT2_Rule[] getRuleasIT2Rules()
public GenT2z_Antecedent[] getAntecedents()
public GenT2z_Consequent[] getConsequents()
public java.util.Iterator<GenT2z_Consequent> getConsequentIterator()
public int getNumberOfAntecedents()
public int getNumberOfConsequents()
public boolean equals(java.lang.Object rule)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object