TUM CCSM Commons

edu.tum.cs.commons.math
Class MinAggregator

java.lang.Object
  extended by edu.tum.cs.commons.math.PairwiseAggregatorBase
      extended by edu.tum.cs.commons.math.MinAggregator
All Implemented Interfaces:
IAggregator

public class MinAggregator
extends PairwiseAggregatorBase

Minimum aggregator.

Version:
$Rev: 28099 $
Author:
deissenb, $Author: hummelb $
Rating:
GREEN Hash: C47D5B70A68ABDC1C3CAE2320770D3E1

Constructor Summary
MinAggregator()
           
 
Method Summary
protected  double aggregate(double aggregate, double value)
          Calculate aggregate of two values.
 double getNeutralElement()
          Returns Double.POSITIVE_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

MinAggregator

public MinAggregator()
Method Detail

getNeutralElement

public double getNeutralElement()
Returns Double.POSITIVE_INFINITY.


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

TUM CCSM Commons

TUM CCSM Commons - 2.7