Package es.urjc.etsii.grafo.metrics
Class DeclaredObjective
java.lang.Object
es.urjc.etsii.grafo.metrics.AbstractMetric
es.urjc.etsii.grafo.metrics.DeclaredObjective
Metric that stores the best objective values seen so far
-
Field Summary
Fields inherited from class es.urjc.etsii.grafo.metrics.AbstractMetric
referenceNanoTime, values
-
Constructor Summary
ConstructorsConstructorDescriptionDeclaredObjective
(String name, FMode fmode, long referenceInstant) Constructor for BestObjective. -
Method Summary
Methods inherited from class es.urjc.etsii.grafo.metrics.AbstractMetric
getName, getReferenceNanoTime, getValues
-
Constructor Details
-
DeclaredObjective
Constructor for BestObjective.
- Parameters:
fmode
- FMode to use when comparing valuesreferenceInstant
- nanoTime representing the start of the experiment, or an arbitrary point in time used to relativize all other times when adding values to the metric
-
-
Method Details
-
add
public void add(long instant, double value) - Overrides:
add
in classAbstractMetric
-
add
public void add(double value) - Overrides:
add
in classAbstractMetric
-