Class DeclaredObjective

java.lang.Object
es.urjc.etsii.grafo.metrics.AbstractMetric
es.urjc.etsii.grafo.metrics.DeclaredObjective

public class DeclaredObjective extends AbstractMetric
Metric that stores the best objective values seen so far
  • Constructor Details

    • DeclaredObjective

      public DeclaredObjective(String name, FMode fmode, long referenceInstant)

      Constructor for BestObjective.

      Parameters:
      fmode - FMode to use when comparing values
      referenceInstant - 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 class AbstractMetric
    • add

      public void add(double value)
      Overrides:
      add in class AbstractMetric