public class SingleExecution extends Object
IParamAssignmentGenerator
for a single execution of the PPPM.
Created: August 17, 2008Constructor and Description |
---|
SingleExecution(IProjectionModel proj,
IP3MDatabase dataBase)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public SingleExecution(IProjectionModel proj, IP3MDatabase dataBase)
proj
- the projection containing all input datadataBase
- the database to store results inpublic james.core.util.misc.Pair<ExecutionSummary,List<GeneratorError>> execute(IParamAssignmentGenerator generator)
generator
- the assignment generator to be usedIParamAssignmentGenerator
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 generatorIParamAssignmentGenerator
protected Matrix2D getGenIndepParameter(Parameter parameter)
parameter
- the parameter for which the value shall be retrievedprotected Matrix2D getGenDepParameter(Parameter parameter, int generation)
parameter
- the parameter for which the value shall be retrievedgeneration
- the generation of the parameterCopyright © 2012. All Rights Reserved.