Package it.univr.di.labeledvalue.lazy
Class LazyMax
java.lang.Object
it.univr.di.labeledvalue.lazy.LazyWeight
it.univr.di.labeledvalue.lazy.LazyCombiner
it.univr.di.labeledvalue.lazy.LazyMax
public class LazyMax extends LazyCombiner
Represent the max of two other LazyWeight
- Author:
- posenato
-
Nested Class Summary
Nested classes/interfaces inherited from class it.univr.di.labeledvalue.lazy.LazyWeight
LazyWeight.SubType
-
Constructor Summary
Constructors Constructor Description LazyMax(org.apache.commons.math3.fraction.Fraction x1, LazyWeight op_1, LazyWeight op_2, boolean onlyIfNeg, boolean onlyIfNegOp1, boolean onlyIfNegOp2)
-
Method Summary
Modifier and Type Method Description double
getValue()
Methods inherited from class it.univr.di.labeledvalue.lazy.LazyCombiner
getX, isOnlyIfNeg, isOnlyIfNegOp1, isOnlyIfNegOp2, setX, toString
Methods inherited from class it.univr.di.labeledvalue.lazy.LazyWeight
equals, formatLazy, getType, hashCode, max, sum, sumWithOverflowCheck
-
Constructor Details
-
LazyMax
public LazyMax(org.apache.commons.math3.fraction.Fraction x1, LazyWeight op_1, LazyWeight op_2, boolean onlyIfNeg, boolean onlyIfNegOp1, boolean onlyIfNegOp2)
-
-
Method Details
-
getValue
public double getValue()- Overrides:
getValue
in classLazyCombiner
-