V - the type of the valuepublic interface Value<V> extends 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 |
|---|---|
Double |
getDouble()
Returns a double value.
|
V |
getValue()
Returns the value.
|
void |
setValue(V value)
Sets the value.
|
compareToV getValue()
setValue(V)void setValue(V value)
value - the value to setgetValue()Double getDouble()