Package org.projog.core.math.builtin
Class Max
java.lang.Object
org.projog.core.math.AbstractArithmeticOperator
org.projog.core.math.builtin.Max
- All Implemented Interfaces:
KnowledgeBaseConsumer,ArithmeticOperator,PreprocessableArithmeticOperator
max - finds the maximum of two numbers.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.projog.core.math.AbstractArithmeticOperator
calculate, calculate, isPure, preprocess, setKnowledgeBase
-
Constructor Details
-
Max
public Max()
-
-
Method Details
-
calculate
- Overrides:
calculatein classAbstractArithmeticOperator
-