|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp3j.simulation.SingleExecution
public class SingleExecution
This class holds all data structures and methods that are required to use an
IParamAssignmentGenerator
for a single execution of the PPPM.
Created: August 17, 2008
Constructor Summary | |
---|---|
SingleExecution(IProjectionModel proj,
IP3MDatabase dataBase)
Default constructor. |
Method Summary | |
---|---|
protected james.core.util.misc.Pair<Map<ParameterInstance,ParameterAssignment>,List<GeneratorError>> |
chooseAssignment(IParamAssignmentGenerator generator,
james.core.math.random.generators.IRandom rng)
Lets the IParamAssignmentGenerator choose a valid assignment and
sets up all auxiliary data structures according to this. |
james.core.util.misc.Pair<ExecutionSummary,List<GeneratorError>> |
execute(IParamAssignmentGenerator generator)
Sets up and executes a single variable assignment for the PPPM. |
protected Matrix2D |
getGenDepParameter(Parameter parameter,
int generation)
Retrieve the value for a generation-dependent parameter. |
protected Matrix2D |
getGenIndepParameter(Parameter parameter)
Retrieve the value for a generation-independent parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SingleExecution(IProjectionModel proj, IP3MDatabase dataBase)
proj
- the projection containing all input datadataBase
- the database to store results inMethod Detail |
---|
public james.core.util.misc.Pair<ExecutionSummary,List<GeneratorError>> execute(IParamAssignmentGenerator generator)
generator
- the assignment generator to be used
IParamAssignmentGenerator
protected james.core.util.misc.Pair<Map<ParameterInstance,ParameterAssignment>,List<GeneratorError>> chooseAssignment(IParamAssignmentGenerator generator, james.core.math.random.generators.IRandom rng)
IParamAssignmentGenerator
choose a valid assignment and
sets up all auxiliary data structures according to this.
generator
- the component for generating the assignment to be calculatedrng
- the random number generator
IParamAssignmentGenerator
protected Matrix2D getGenIndepParameter(Parameter parameter)
parameter
- the parameter for which the value shall be retrieved
protected Matrix2D getGenDepParameter(Parameter parameter, int generation)
parameter
- the parameter for which the value shall be retrievedgeneration
- the generation of the parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |