Package org.tweetyproject.math.func
Class MaxAggregator
java.lang.Object
org.tweetyproject.math.func.MaxAggregator
- All Implemented Interfaces:
Serializable
,AggregationFunction
,SimpleFunction<List<Double>,
Double>
This aggregation function models the maximum function.
- Author:
- Matthias Thimm
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MaxAggregator
public MaxAggregator()Constructor
-
-
Method Details
-
eval
Description copied from interface:SimpleFunction
Evaluates the function for the given element.- Specified by:
eval
in interfaceAggregationFunction
- Specified by:
eval
in interfaceSimpleFunction<List<Double>,
Double> - Parameters:
elements
- some element- Returns:
- the value of the element.
-
toString
- Specified by:
toString
in interfaceAggregationFunction
- Overrides:
toString
in classObject
-