|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimModel
Interface for all RePast models.
| Method Summary | |
|---|---|
void |
begin()
Begins a simulation run. |
void |
clearMediaProducers()
Clears the vector of displaySurface |
void |
clearPropertyListeners()
Clears the list of property listeners. |
void |
generateNewSeed()
Generates a new random number seed and makes it the default. |
IController |
getController()
Gets the BaseController associated with this model. |
java.lang.String[] |
getInitParam()
Gets the names of the initial model parameters to set. |
java.util.Vector |
getMediaProducers()
Gets a Vector of the MediaProducers registered with this model. |
ModelManipulator |
getModelManipulator()
Gets the ModelManipulator. |
java.lang.String |
getName()
Gets the name of the model/simulation. |
java.util.Hashtable |
getParameterDescriptors()
Gets a hashtable of ParameterDescriptors where key is parameter name, and value is the ParameterDescriptor. |
java.lang.String |
getPropertiesValues()
Gets a list of the simulation properties and values. |
long |
getRngSeed()
Gets the default random number seed. |
Schedule |
getSchedule()
Gets the Schedule created by the model. |
double |
getTickCount()
Gets the current tick count for the execution of this model |
void |
setController(IController controller)
Sets the controller for this simulation model |
void |
setRngSeed(long seed)
Sets the random number seed. |
void |
setup()
Prepares a model for a new run, typically by deallocating objects or setting them to some reasonable default. |
| Methods inherited from interface uchicago.src.sim.engine.SimEventProducer |
|---|
addSimEventListener, fireSimEvent, removeSimEventListener |
| Method Detail |
|---|
java.lang.String[] getInitParam()
void begin()
void setup()
Schedule getSchedule()
java.lang.String getName()
java.lang.String getPropertiesValues()
MaxVision: 3 MaxMetabolism: 4 NumAgents: 52
void setRngSeed(long seed)
seed - the random number seed.Randomlong getRngSeed()
void generateNewSeed()
double getTickCount()
void setController(IController controller)
controller - the controller to associate with this modelIController getController()
ModelManipulator getModelManipulator()
java.util.Vector getMediaProducers()
void clearMediaProducers()
void clearPropertyListeners()
java.util.Hashtable getParameterDescriptors()
getParameterDescriptors in interface DescriptorContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||