|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjames.core.base.Entity
james.core.processor.Processor
james.core.processor.RunnableProcessor
p3j.simulation.PPPMProcessor
public class PPPMProcessor
Encapsulates the execution of the PPPM. It calls the chosen
IParamAssignmentGenerator
to generate a valid assignment of PPPM
variables, i.e. a mapping ParameterInstance
->
ParameterAssignment
that is defined for all
ParameterInstance
objects required for
calculation (this is dependent on the number of generations, etc.). It also
contains the functions that map the Parameter
constants from Parameters
to their destination
fields in
BasicParameters
.
This has be done for every kind of population.
Created on February 18, 2007
Field Summary |
---|
Fields inherited from class james.core.processor.RunnableProcessor |
---|
executionControl |
Fields inherited from class james.core.processor.Processor |
---|
accessRestriction |
Constructor Summary | |
---|---|
PPPMProcessor(IProjectionModel mod,
IParamAssignmentGenerator gen)
Default constructor. |
Method Summary | |
---|---|
Double |
getTime()
|
protected void |
nextStep()
Calculates the outcome of *one* deterministic calculation. |
Methods inherited from class james.core.processor.RunnableProcessor |
---|
getStatus, isPausing, isRunning, isStopping, next, pause, run, run, run, run, setDelay, stop |
Methods inherited from class james.core.processor.Processor |
---|
cleanUp, executeNextStep, getClassName, getCompleteInfoString, getComputationTask, getModel, getModelName, getPostNextStepHook, getPreNextStepHook, getStartTime, getState, getSupportedModelClasses, installPostNextStepHook, installPreNextStepHook, isSupported, isSupported, setComputationTask, setModel, setState, supportedModels |
Methods inherited from class james.core.base.Entity |
---|
changed, changed, getMediator, getSimpleId, isObserved, registerObserver, report, report, report, report, report, report, report, report, setMediator, unregister, unregisterObserver, unregisterObservers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface james.core.base.IEntity |
---|
getSimpleId |
Methods inherited from interface james.core.observe.IObservable |
---|
changed, getMediator, registerObserver, setMediator, unregisterObserver, unregisterObservers |
Constructor Detail |
---|
public PPPMProcessor(IProjectionModel mod, IParamAssignmentGenerator gen)
mod
- the model to be simulatedgen
- the assignment generator to be usedMethod Detail |
---|
public Double getTime()
getTime
in interface james.core.processor.IProcessor
getTime
in interface james.core.util.ITime<Double>
getTime
in class james.core.processor.Processor
protected void nextStep()
nextStep
in class james.core.processor.Processor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |