Class ResultImpl
java.lang.Object
org.pentaho.aggdes.algorithm.impl.ResultImpl
- All Implemented Interfaces:
Result
Implementation of
Result.-
Constructor Summary
ConstructorsConstructorDescriptionResultImpl(List<Aggregate> materializedAggregates, List<Algorithm.CostBenefit> costBenefitList, double costLimit, double cost, double benefit) -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribe(PrintWriter pw) Prints a textual description of the result.Returns a list of aggregate tables.Returns a list of cost/benefit for each aggregate.
-
Constructor Details
-
ResultImpl
public ResultImpl(List<Aggregate> materializedAggregates, List<Algorithm.CostBenefit> costBenefitList, double costLimit, double cost, double benefit)
-
-
Method Details
-
getAggregates
Description copied from interface:ResultReturns a list of aggregate tables.- Specified by:
getAggregatesin interfaceResult- Returns:
- list of aggregate tables
-
getCostBenefits
Description copied from interface:ResultReturns a list of cost/benefit for each aggregate.- Specified by:
getCostBenefitsin interfaceResult- Returns:
- list of cost/benefit metrics
-
describe
Description copied from interface:ResultPrints a textual description of the result.
-