|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.bddbddb.order.TrialInfo
public class TrialInfo
Information about a particular trial.
| Field Summary | |
|---|---|
long |
cost
Cost of this trial. |
EpisodeCollection.Episode |
episode
Collection that contains this trial. |
Order |
order
Order tried. |
TrialPrediction |
pred
The predicted results for this trial. |
static java.lang.String |
PREDICTION_VAR1
|
static java.lang.String |
PREDICTION_VAR2
|
long |
timestamp
|
| Constructor Summary | |
|---|---|
TrialInfo(Order o,
TrialPrediction p,
long c,
EpisodeCollection.Episode ep,
long timestamp)
Construct a new TrialInfo. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object arg0)
|
int |
compareTo(TrialInfo that)
Comparison operator for TrialInfo objects. |
static TrialInfo |
fromXMLElement(org.jdom.Element e,
java.util.Map nameToVar,
EpisodeCollection.Episode ep)
|
EpisodeCollection |
getCollection()
|
boolean |
isMax()
|
java.lang.String |
toString()
|
org.jdom.Element |
toXMLElement()
Returns this TrialInfo as an XML element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Order order
public long cost
public EpisodeCollection.Episode episode
public TrialPrediction pred
public long timestamp
public static java.lang.String PREDICTION_VAR1
public static java.lang.String PREDICTION_VAR2
| Constructor Detail |
|---|
public TrialInfo(Order o,
TrialPrediction p,
long c,
EpisodeCollection.Episode ep,
long timestamp)
o - orderp - predict value for this trialc - cost| Method Detail |
|---|
public EpisodeCollection getCollection()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object arg0)
compareTo in interface java.lang.Comparablepublic int compareTo(TrialInfo that)
that - TrialInfo to compare to
public boolean isMax()
public org.jdom.Element toXMLElement()
public static TrialInfo fromXMLElement(org.jdom.Element e,
java.util.Map nameToVar,
EpisodeCollection.Episode ep)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||