public class Predicates extends AbstractMOAObject
Constructor and Description |
---|
Predicates(double attribVal,
double symb,
double val) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(weka.core.Instance inst) |
double |
getAttributeValue() |
void |
getDescription(StringBuilder sb,
int indent)
Returns a string representation of this object.
|
double |
getSymbol() |
double |
getValue() |
void |
setAttributeValue(double attributeValue) |
void |
setSymbol(double symbol) |
void |
setValue(double value) |
copy, copy, measureByteSize, measureByteSize, toString
public double getAttributeValue()
public double getSymbol()
public double getValue()
public void setAttributeValue(double attributeValue)
public void setSymbol(double symbol)
public void setValue(double value)
public boolean evaluate(weka.core.Instance inst)
public void getDescription(StringBuilder sb, int indent)
MOAObject
AbstractMOAObject.toString
to give a string representation of the object.sb
- the stringbuilder to add the descriptionindent
- the number of characters to indentCopyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.