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