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 org.jamesii.core.util.misc.Pair<Map<ParameterInstance,ParameterAssignment>,List<GeneratorError>> |
chooseAssignment(IParamAssignmentGenerator generator,
org.jamesii.core.math.random.generators.IRandom rng)
Lets the
IParamAssignmentGenerator choose a valid assignment and
sets up all auxiliary data structures according to this. |
org.jamesii.core.util.misc.Pair<ExecutionSummary,List<GeneratorError>> |
execute(IParamAssignmentGenerator generator)
Sets up and executes a single variable assignment for the PPPM.
|
protected Matrix2D |
getGenDepParameter(String parameterName,
int generation)
Retrieve the value for a generation-dependent parameter.
|
protected Matrix2D |
getGenIndepParameter(String parameterName)
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 org.jamesii.core.util.misc.Pair<ExecutionSummary,List<GeneratorError>> execute(IParamAssignmentGenerator generator)
generator
- the assignment generator to be usedIParamAssignmentGenerator
protected org.jamesii.core.util.misc.Pair<Map<ParameterInstance,ParameterAssignment>,List<GeneratorError>> chooseAssignment(IParamAssignmentGenerator generator, org.jamesii.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(String parameterName)
parameterName
- the parameter nameCopyright © 2013. All Rights Reserved.