|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--uchicago.src.sim.engine.Parameter
Abstract base class for batch run parameters.
| Field Summary | |
protected Incrementer |
incrementer
|
protected Vector |
list
|
protected int |
listIndex
|
protected String |
name
|
protected long |
numRuns
|
protected long |
numRunsIndex
|
protected Parameter |
parent
|
protected Vector |
subParams
|
protected long |
subRuns
|
| Constructor Summary | |
Parameter()
|
|
| Method Summary | |
void |
addChild(Parameter subParam)
Adds a Parameter to this parameter as a child. |
Vector |
getChildren()
Gets the children of this parameter. |
String |
getName()
Gets the name of this parameter. |
long |
getNumRuns()
Gets the number of runs associated with this Parameter. |
Parameter |
getParent()
Gets the parent parameter of this parameter |
long |
getSubRuns()
|
String |
getValAsParameterSet()
|
abstract String |
getValue()
Gets the current value of this parameter as a string. |
boolean |
hasChildren()
Does this Parameter have any children. |
abstract boolean |
increment()
Increments the parameter. |
abstract boolean |
isComplete()
Does this parameter have all its necessary values assigned. |
abstract boolean |
isConstant()
|
boolean |
isListParameter()
|
void |
removeChild(Parameter p)
Removes the specified Parameter from this Parameter's list of children. |
void |
setConstVal(Object o)
|
abstract void |
setEnd(Object o)
|
abstract void |
setIncr(Object o)
|
void |
setList(Vector v)
|
void |
setName(String name)
Sets the name of this to the specified name. |
void |
setNumRuns(long runs)
Sets the number of runs associated with this parameter. |
void |
setParent(Parameter p)
Sets the parent parameter of this parameter |
abstract void |
setStart(Object o)
|
void |
setSubRuns(long runs)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String name
protected Parameter parent
protected Vector list
protected int listIndex
protected Vector subParams
protected long numRunsIndex
protected long subRuns
protected long numRuns
protected Incrementer incrementer
| Constructor Detail |
public Parameter()
| Method Detail |
public void setParent(Parameter p)
public Parameter getParent()
public void setSubRuns(long runs)
public long getSubRuns()
public void setName(String name)
name - the name of the parameterpublic String getName()
public abstract boolean isComplete()
public void addChild(Parameter subParam)
subParam - the parameter to addpublic Vector getChildren()
public boolean hasChildren()
public void removeChild(Parameter p)
public void setNumRuns(long runs)
public long getNumRuns()
public void setList(Vector v)
public boolean isListParameter()
public void setConstVal(Object o)
public String getValAsParameterSet()
public abstract boolean increment()
public abstract String getValue()
public abstract boolean isConstant()
public abstract void setStart(Object o)
public abstract void setEnd(Object o)
public abstract void setIncr(Object o)
|
RePast v. 2.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||