V - the type of the valuepublic interface Value<V> extends java.lang.Comparable<Value<V>>
Value represents the result for an Objective. Each
Value has to be Comparable and have a Double
representation which is used by some optimization algorithms. Thus, an
appropriate Double representation is not necessary if the
optimization algorithm does not require it.DoubleValue,
IntegerValue,
Objectives.add(Objective, Value)| Modifier and Type | Method and Description |
|---|---|
java.lang.Double |
getDouble()
Returns a double value.
|
V |
getValue()
Returns the value.
|
void |
setValue(V value)
Sets the value.
|
V getValue()
setValue(V)void setValue(V value)
value - the value to setgetValue()java.lang.Double getDouble()