com.ibm.able.autotune
Class AutotuneMetricTarget
java.lang.Object
com.ibm.able.autotune.AutotuneMetricTarget
- All Implemented Interfaces:
- java.io.Serializable
- public class AutotuneMetricTarget
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metric
protected AutotuneMetric metric
targetValue
protected AbleLiteral targetValue
targetOperator
protected AutotuneMetricOperator targetOperator
AutotuneMetricTarget
public AutotuneMetricTarget(AutotuneMetric metric)
AutotuneMetricTarget
public AutotuneMetricTarget(AutotuneMetric metric,
int operation,
AbleLiteral targetValue)
setTargetValue
public void setTargetValue(AbleLiteral value)
getTargetValue
public AbleLiteral getTargetValue()
test
public boolean test()
throws AbleDataException
- test to see if the target condition holds,
for example if x > 100
or if x is high
return true if targetOperator returns true, false otherwise
- Throws:
AbleDataException
computeDelta
public double computeDelta()
throws AbleDataException
- compute the error between a metric value and a target
- Throws:
AbleDataException
(C) Copyright IBM Corporation 1999, 2005