|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectaa4mm.basic.model.GenericModelArtefact
public abstract class GenericModelArtefact
This class represent a model artefact.
| Field Summary | |
|---|---|
protected SimulTime |
currentTime
The current simulation time. |
protected SimulTime |
nextTime
The time for the next step or event to be processed by the simulator. |
| Constructor Summary | |
|---|---|
GenericModelArtefact()
|
|
| Method Summary | |
|---|---|
protected abstract void |
createSimulatorInstance()
Create an instance of the simulator. |
abstract void |
finishSimulation()
Do something when simulation is done |
SimulTime |
getCurrentTime()
|
SimulTime |
getNextTime()
|
abstract java.util.ArrayList<SimulData> |
getOutputData()
Get the model output data |
abstract void |
init()
Create a simulator instance (by calling aa4mm.basic.model.GenericModelArtefact.createSimulatorInstance()), load the model and initiate it. |
abstract void |
run()
Run one simulation step or event |
abstract void |
setInitialInputData(SimulData data)
If a model needs initial data from the others model in order to be initiated. |
abstract void |
setInputData(SimulData data)
Set the model input data. |
protected abstract void |
updateSimulationTime()
Get the current and next simulation time from the simulator and update the ModelArtefact local values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SimulTime currentTime
protected SimulTime nextTime
| Constructor Detail |
|---|
public GenericModelArtefact()
| Method Detail |
|---|
public abstract void run()
public SimulTime getNextTime()
public SimulTime getCurrentTime()
public abstract void setInputData(SimulData data)
data - public abstract java.util.ArrayList<SimulData> getOutputData()
protected abstract void updateSimulationTime()
public abstract void init()
public abstract void setInitialInputData(SimulData data)
data - protected abstract void createSimulatorInstance()
aa4mm.basic.model.GenericModelArtefact.init()public abstract void finishSimulation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||