|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectp3j.experiment.results.AbstractAggregationSelector
p3j.experiment.results.SumOverAgesSelector
p3j.experiment.results.MergeSubPopSumOverAgesSelector
public class MergeSubPopSumOverAgesSelector
This aggregator allows to add and subtract certain population, before summing
over their ages and afterwards behaving like SumOverAgesSelector
. All
combinations of result/trial selectors for addition/subtraction will be
chosen.
IAggregationSelector
,
SumOverAgesSelector
Field Summary |
---|
Fields inherited from class p3j.experiment.results.AbstractAggregationSelector |
---|
aggregation |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
void |
consider(int trialCount,
ResultsOfTrial result)
Called to consider a single result. |
AbstractAggregationSelector[] |
getAddAggregationSelectors()
|
protected String |
getFileName()
Gets the file name. |
AbstractAggregationSelector[] |
getSubtractAggregationSelectors()
|
Methods inherited from class p3j.experiment.results.SumOverAgesSelector |
---|
finish, init |
Methods inherited from class p3j.experiment.results.AbstractAggregationSelector |
---|
cutOffUnused, getCopy, reorderResults, select, sumPerElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 nameMethod Detail |
---|
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |