Package elki.workflow

Class EvaluationStep.Evaluation

  • All Implemented Interfaces:
    ResultListener, java.util.EventListener
    Enclosing class:
    EvaluationStep

    private static class EvaluationStep.Evaluation
    extends java.lang.Object
    implements ResultListener
    Class to handle running the evaluators on a database instance.
    Author:
    Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<? extends Evaluator> evaluators
      Evaluators to run.
    • Constructor Summary

      Constructors 
      Constructor Description
      Evaluation​(java.util.List<? extends Evaluator> evaluators, Database db)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void resultAdded​(java.lang.Object child, java.lang.Object parent)
      A new derived result was added.
      void update​(java.lang.Object r)
      Update on a particular result.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • evaluators

        private java.util.List<? extends Evaluator> evaluators
        Evaluators to run.
    • Constructor Detail

      • Evaluation

        public Evaluation​(java.util.List<? extends Evaluator> evaluators,
                          Database db)
        Constructor.
        Parameters:
        evaluators - Evaluators
    • Method Detail

      • update

        public void update​(java.lang.Object r)
        Update on a particular result.
        Parameters:
        r - Result
      • resultAdded

        public void resultAdded​(java.lang.Object child,
                                java.lang.Object parent)
        Description copied from interface: ResultListener
        A new derived result was added.
        Specified by:
        resultAdded in interface ResultListener
        Parameters:
        child - New child result added
        parent - Parent result that was added to