public class MergeSubPopSumOverAgesSelector extends SumOverAgesSelector
SumOverAgesSelector
. All
combinations of result/trial selectors for addition/subtraction will be
chosen.IAggregationSelector
,
SumOverAgesSelector
aggregation
Constructor and Description |
---|
MergeSubPopSumOverAgesSelector(AbstractAggregationSelector[] selectorsForAddition,
AbstractAggregationSelector[] selectorsForSubtraction,
String customFileName)
Instantiates aggregator that merges subpopulations.
|
MergeSubPopSumOverAgesSelector(AbstractAggregationSelector[] selectorsForAddition,
String customFileName)
Instantiates a new merge sub pop sum over ages selector.
|
MergeSubPopSumOverAgesSelector(List<AbstractAggregationSelector> selectorsForAddition,
List<AbstractAggregationSelector> selectorsForSubtraction,
String customFileName)
Instantiates a new merge-sub-pop-sum-over-ages selector.
|
MergeSubPopSumOverAgesSelector(List<AbstractAggregationSelector> selectorsForAddition,
String customFileName)
Instantiates a new merge sub pop sum over ages selector.
|
Modifier and Type | Method and Description |
---|---|
void |
consider(int trialCount,
ResultsOfTrial result)
Called to consider a single result.
|
AbstractAggregationSelector[] |
getAddAggregationSelectors() |
protected String |
getFileName()
Gets the file name.
|
AbstractAggregationSelector[] |
getSubtractAggregationSelectors() |
finish, init
cutOffUnused, getCopy, reorderResults, select, sumPerElement
public MergeSubPopSumOverAgesSelector(AbstractAggregationSelector[] selectorsForAddition, AbstractAggregationSelector[] selectorsForSubtraction, String customFileName)
selectorsForAddition
- the selectors for additionselectorsForSubtraction
- the selectors for subtractioncustomFileName
- the custom file name for the aggregated resultspublic MergeSubPopSumOverAgesSelector(AbstractAggregationSelector[] selectorsForAddition, String customFileName)
selectorsForAddition
- the selectors for additioncustomFileName
- the custom file namepublic MergeSubPopSumOverAgesSelector(List<AbstractAggregationSelector> selectorsForAddition, List<AbstractAggregationSelector> selectorsForSubtraction, String customFileName)
selectorsForAddition
- the selectors for additionselectorsForSubtraction
- the selectors for subtractioncustomFileName
- the custom file namepublic MergeSubPopSumOverAgesSelector(List<AbstractAggregationSelector> selectorsForAddition, String customFileName)
selectorsForAddition
- the selectors for additioncustomFileName
- the custom file namepublic void consider(int trialCount, ResultsOfTrial result)
IAggregationSelector
consider
in interface IAggregationSelector
consider
in class SumOverAgesSelector
trialCount
- the trial count (i.e. index)result
- the resultprotected String getFileName()
AbstractAggregationSelector
getFileName
in class AbstractAggregationSelector
public AbstractAggregationSelector[] getAddAggregationSelectors()
public AbstractAggregationSelector[] getSubtractAggregationSelectors()
Copyright © 2012. All Rights Reserved.