public static class VectorBinaryAggregate.AggregateAllIterateThatLookupThis extends VectorBinaryAggregate
VectorBinaryAggregate.AggregateAllIterateSequential, VectorBinaryAggregate.AggregateAllIterateThatLookupThis, VectorBinaryAggregate.AggregateAllIterateThisLookupThat, VectorBinaryAggregate.AggregateAllLoop, VectorBinaryAggregate.AggregateIterateIntersection, VectorBinaryAggregate.AggregateIterateUnionRandom, VectorBinaryAggregate.AggregateIterateUnionSequential, VectorBinaryAggregate.AggregateNonzerosIterateThatLookupThis, VectorBinaryAggregate.AggregateNonzerosIterateThisLookupThatOPERATIONS| Constructor and Description |
|---|
AggregateAllIterateThatLookupThis() |
| Modifier and Type | Method and Description |
|---|---|
double |
aggregate(Vector x,
Vector y,
DoubleDoubleFunction fa,
DoubleDoubleFunction fc)
Main method that applies fc to x and y component-wise aggregating the results with fa.
|
double |
estimateCost(Vector x,
Vector y,
DoubleDoubleFunction fa,
DoubleDoubleFunction fc)
Estimates the cost of using this algorithm to compute the aggregation.
|
boolean |
isValid(Vector x,
Vector y,
DoubleDoubleFunction fa,
DoubleDoubleFunction fc)
Returns true iff we can use this algorithm to apply fc to x and y component-wise and aggregate the result using fa.
|
aggregateBest, getBestOperationpublic boolean isValid(Vector x, Vector y, DoubleDoubleFunction fa, DoubleDoubleFunction fc)
VectorBinaryAggregateisValid in class VectorBinaryAggregatepublic double estimateCost(Vector x, Vector y, DoubleDoubleFunction fa, DoubleDoubleFunction fc)
VectorBinaryAggregateestimateCost in class VectorBinaryAggregatepublic double aggregate(Vector x, Vector y, DoubleDoubleFunction fa, DoubleDoubleFunction fc)
VectorBinaryAggregateaggregate in class VectorBinaryAggregateCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.