public class ComparisonQueryModel extends DataQueryModel
EvaluateMathDef interface.dataSet, dataType, functionClass, params| Constructor and Description |
|---|
ComparisonQueryModel()
Create a new instance of ComparisonQueryModel
|
| Modifier and Type | Method and Description |
|---|---|
org.ai_heuristic.def.EvaluateMathDef |
compareFunction()
Create the math comparison object from the stored class name.
|
org.ai_heuristic.eval.metric.MetricDataset |
getCompareWith()
Get the dataset object to compare with.
|
java.lang.String |
getOperator()
Get the comparison operator.
|
void |
setCompareWith(org.ai_heuristic.eval.metric.MetricDataset thisDataSet)
Set the dataset object to compare with.
|
void |
setFunctionClass(java.lang.String functionClassname)
Set the class name of the evaluator.
|
void |
setOperator(java.lang.String thisOperator)
Set the comparison operator.
|
clone, distanceFunction, getDataset, getDataType, getFunctionClass, getParams, isDataQuery, setDataset, setDataType, setParamspublic ComparisonQueryModel()
public org.ai_heuristic.def.EvaluateMathDef compareFunction()
throws java.lang.Exception
LoadObject, with an
empty constructor.java.lang.Exception - any error.public void setFunctionClass(java.lang.String functionClassname)
EvaluateMathDef interface, so that its method list is known.setFunctionClass in class DataQueryModelfunctionClassname - the evaluator class name.public void setOperator(java.lang.String thisOperator)
Null for evaluation on single object.thisOperator - the comparison operator.public java.lang.String getOperator()
Null for single evaluation.public void setCompareWith(org.ai_heuristic.eval.metric.MetricDataset thisDataSet)
thisDataSet - the dataset object.public org.ai_heuristic.eval.metric.MetricDataset getCompareWith()