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
Method Summary |
double |
computeDelta()
compute the error between a metric value and a target |
static java.lang.String |
Copyright()
Determine the copyright of this class. |
AbleLiteral |
getTargetValue()
|
void |
setTargetValue(AbleLiteral value)
|
boolean |
test()
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 |
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
computeDelta
public double computeDelta()
throws AbleDataException
- compute the error between a metric value and a target
Copyright
public static java.lang.String Copyright()
- Determine the copyright of this class.
- Returns:
- A String containing this class's copyright statement.
(C) Copyright IBM Corporation 1999, 2003