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 TypeMethodDescriptionvoid
describe
(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:Result
Returns a list of aggregate tables.- Specified by:
getAggregates
in interfaceResult
- Returns:
- list of aggregate tables
-
getCostBenefits
Description copied from interface:Result
Returns a list of cost/benefit for each aggregate.- Specified by:
getCostBenefits
in interfaceResult
- Returns:
- list of cost/benefit metrics
-
describe
Description copied from interface:Result
Prints a textual description of the result.
-