p3j.experiment.results
Class ResultAggregation

java.lang.Object
  extended by p3j.experiment.results.ResultAggregation

public class ResultAggregation
extends Object

Simple helper class to define the result aggregation. Use only for a *single* export!

Author:
Christina Bohk, Roland Ewald

Constructor Summary
ResultAggregation(int numberOfGenerations, int numberOfYears)
          Instantiates a new result aggregation helper.
 
Method Summary
 IAggregationSelector[] getSelectorsForAggregatedDataExport()
          Gets the selectors for aggregated data export.
 IAggregationSelector[] getSelectorsForReport()
          Gets the selectors to be used for report generation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultAggregation

public ResultAggregation(int numberOfGenerations,
                         int numberOfYears)
Instantiates a new result aggregation helper.

Parameters:
numberOfGenerations - the number of generations
numberOfYears - the number of years
Method Detail

getSelectorsForReport

public IAggregationSelector[] getSelectorsForReport()
Gets the selectors to be used for report generation.

Parameters:
generations - the number of generations
numOfYears - the number of years to be predicted
Returns:
the selectors

getSelectorsForAggregatedDataExport

public IAggregationSelector[] getSelectorsForAggregatedDataExport()
Gets the selectors for aggregated data export.

Returns:
the selectors for aggregated data export


Copyright © 2012. All Rights Reserved.