Package it.univr.di.labeledvalue.lazy
Class LazyNumber
java.lang.Object
it.univr.di.labeledvalue.lazy.LazyWeight
it.univr.di.labeledvalue.lazy.LazyNumber
public final class LazyNumber extends LazyWeight
Represent a simple value.
- Author:
- posenato
-
Nested Class Summary
Nested classes/interfaces inherited from class it.univr.di.labeledvalue.lazy.LazyWeight
LazyWeight.SubType
-
Field Summary
Fields Modifier and Type Field Description static LazyNumber
LazyNegInfty
-
Method Summary
Modifier and Type Method Description static LazyNumber
get(int v)
double
getValue()
org.apache.commons.math3.fraction.Fraction
getX()
void
setX(org.apache.commons.math3.fraction.Fraction newX)
Methods inherited from class it.univr.di.labeledvalue.lazy.LazyWeight
equals, formatLazy, getType, hashCode, max, sum, sumWithOverflowCheck, toString
-
Field Details
-
LazyNegInfty
-
-
Method Details
-
get
-
getValue
public double getValue()- Specified by:
getValue
in classLazyWeight
-
getX
public org.apache.commons.math3.fraction.Fraction getX()- Specified by:
getX
in classLazyWeight
-
setX
public void setX(org.apache.commons.math3.fraction.Fraction newX)- Specified by:
setX
in classLazyWeight
-