edu.tum.cs.commons.math
Class MaxAggregator
java.lang.Object
edu.tum.cs.commons.math.PairwiseAggregatorBase
edu.tum.cs.commons.math.MaxAggregator
- All Implemented Interfaces:
- IAggregator
public class MaxAggregator
- extends PairwiseAggregatorBase
Maximum aggregator.
- Version:
- $Rev: 28099 $
- Author:
- deissenb, $Author: hummelb $
- Rating:
- GREEN Hash: EECFE83B223F19D0F77A7A5DF3257B3B
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MaxAggregator
public MaxAggregator()
aggregate
protected double aggregate(double aggregate,
double value)
- Calculate aggregate of two values.
- Specified by:
aggregate in class PairwiseAggregatorBase
- Parameters:
aggregate - the value that has been aggregated by previous pairwise
aggregationsvalue - the new value
getNeutralElement
public double getNeutralElement()
- Returns
Double.NEGATIVE_INFINITY.
TUM CCSM Commons - 2.7