|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgenegui.SuccessList
SuccessList.java Accumulates a list of "successful" runs. Two ArrayLists associate a ParamaterSet with the final ModelState of a successful run.
Constructor Summary | |
SuccessList()
Simple constructor. |
Method Summary | |
void |
add(ModelState modelState,
ParameterSet parameterSet,
float score,
java.lang.String name)
Add a new pair to the list. |
void |
clear()
Clears the contents of the list. |
ModelState |
getModelState(int index)
Returns the ModelState from pair index. |
java.util.Vector |
getModelStates()
|
java.lang.String |
getName(int index)
Returns the name of the ParameterSet. |
java.util.Vector |
getNames()
Returns a vector with the names of all the results. |
java.util.Vector |
getParameterNames()
|
ParameterSet |
getParameterSet(int index)
Returns the ParameterSet from pair index. |
float |
getScore(int index)
Returns the name of the ParameterSet. |
java.util.Vector |
getScores()
|
void |
setModelStates(java.util.Vector states)
|
void |
setParameterNames(java.util.Vector names)
|
void |
setScores(java.util.Vector scores)
|
int |
size()
Returns the number of pairs in the list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SuccessList()
Method Detail |
public void add(ModelState modelState, ParameterSet parameterSet, float score, java.lang.String name)
public void clear()
public ModelState getModelState(int index)
public java.util.Vector getNames()
public java.lang.String getName(int index)
public ParameterSet getParameterSet(int index)
public float getScore(int index)
public int size()
public java.util.Vector getModelStates()
public void setModelStates(java.util.Vector states)
public java.util.Vector getParameterNames()
public void setParameterNames(java.util.Vector names)
public java.util.Vector getScores()
public void setScores(java.util.Vector scores)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |