TUM CCSM Commons

edu.tum.cs.commons.math
Class MaxAggregator

java.lang.Object
  extended by edu.tum.cs.commons.math.PairwiseAggregatorBase
      extended by 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

Constructor Summary
MaxAggregator()
           
 
Method Summary
protected  double aggregate(double aggregate, double value)
          Calculate aggregate of two values.
 double getNeutralElement()
          Returns Double.NEGATIVE_INFINITY.
 
Methods inherited from class edu.tum.cs.commons.math.PairwiseAggregatorBase
aggregate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaxAggregator

public MaxAggregator()
Method Detail

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 aggregations
value - the new value

getNeutralElement

public double getNeutralElement()
Returns Double.NEGATIVE_INFINITY.


TUM CCSM Commons

TUM CCSM Commons - 2.7