|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.bddbddb.order.ConstraintInfo
public class ConstraintInfo
Information about a particular constraint.
Constructor Summary | |
---|---|
ConstraintInfo(OrderConstraint c)
Construct a new ConstraintInfo. |
Method Summary | |
---|---|
int |
compareTo(ConstraintInfo that)
|
int |
compareTo(java.lang.Object o)
|
void |
dump()
Dump this constraint info to the screen. |
static ConstraintInfo |
fromXMLElement(org.jdom.Element e,
XMLFactory f)
|
double |
getConfidenceInterval(double sigLevel)
Returns the confidence interval of the normalized times with the given significance level. |
double |
getMean()
A measure of, when using an order with this constraint, how long the operation would take versus the best time for that operation. |
double |
getMinimumCost()
|
int |
getNumberOfTrials()
The number of trials used in the computation of the score. |
double |
getStdDev()
The standard deviation of the normalized times used in the computation of the score. |
double |
getVariance()
The variance of the normalized times used in the computation of the score. |
static double |
getVariance(java.util.Collection cis)
|
double |
getWeightedMean()
The same as the score, but each trial is weighted by the absolute time spent by the best trial of that operation. |
void |
registerTrial(TrialInfo t)
|
void |
registerTrials(java.util.Collection newTrials)
Register new trials with this ConstraintInfo. |
java.lang.String |
toString()
|
org.jdom.Element |
toXMLElement(Solver solver)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConstraintInfo(OrderConstraint c)
c
- constraintMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public double getMean()
public int getNumberOfTrials()
public static double getVariance(java.util.Collection cis)
public double getVariance()
public double getStdDev()
public double getWeightedMean()
public double getMinimumCost()
public double getConfidenceInterval(double sigLevel)
public void registerTrial(TrialInfo t)
public void registerTrials(java.util.Collection newTrials)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public int compareTo(ConstraintInfo that)
public void dump()
public org.jdom.Element toXMLElement(Solver solver)
public static ConstraintInfo fromXMLElement(org.jdom.Element e, XMLFactory f)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |