public class DoubleDenseVectorSumAggregator extends BasicAggregator<DoubleDenseVector>
Constructor and Description |
---|
DoubleDenseVectorSumAggregator() |
Modifier and Type | Method and Description |
---|---|
void |
aggregate(DoubleDenseVector vector)
Add a new value.
|
DoubleDenseVector |
createInitialValue()
Return new aggregated value which is neutral to aggregate operation.
|
getAggregatedValue, reset, setAggregatedValue
public DoubleDenseVector createInitialValue()
Aggregator
public void aggregate(DoubleDenseVector vector)
Aggregator
vector
- Value to be aggregated.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.