Package net.sf.tweety.math.func
Class MaxFunction
- java.lang.Object
-
- net.sf.tweety.math.func.MaxFunction
-
- All Implemented Interfaces:
BinaryFunction<Double,Double,Double>
public class MaxFunction extends Object implements BinaryFunction<Double,Double,Double>
The maximum function.- Author:
- Matthias Thimm
-
-
Method Detail
-
eval
public Double eval(Double val1, Double val2)
Description copied from interface:BinaryFunctionEvaluates the function for the given elements.- Specified by:
evalin interfaceBinaryFunction<Double,Double,Double>- Parameters:
val1- some elementval2- some element- Returns:
- the value of the element.
-
-