de.lmu.ifi.dbs.elki.workflow
Class EvaluationStep.Evaluation

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.workflow.EvaluationStep.Evaluation
All Implemented Interfaces:
ResultListener, EventListener
Enclosing class:
EvaluationStep

public class EvaluationStep.Evaluation
extends Object
implements ResultListener

Class to handle running the evaluators on a database instance.


Field Summary
private  Database database
          Database
private  List<Evaluator> evaluators
          Evaluators to run.
 
Constructor Summary
EvaluationStep.Evaluation(Database database, List<Evaluator> evaluators)
          Constructor.
 
Method Summary
 void resultAdded(Result child, Result parent)
          A new derived result was added.
 void resultChanged(Result current)
          Notify that the current result has changed substantially.
 void resultRemoved(Result child, Result parent)
          A result was removed.
 void update(Result 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

database

private Database database
Database


evaluators

private List<Evaluator> evaluators
Evaluators to run.

Constructor Detail

EvaluationStep.Evaluation

public EvaluationStep.Evaluation(Database database,
                                 List<Evaluator> evaluators)
Constructor.

Parameters:
database - Database
evaluators - Evaluators
Method Detail

update

public void update(Result r)
Update on a particular result.

Parameters:
r - Result

resultAdded

public void resultAdded(Result child,
                        Result 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

resultChanged

public void resultChanged(Result current)
Description copied from interface: ResultListener
Notify that the current result has changed substantially.

Specified by:
resultChanged in interface ResultListener
Parameters:
current - Result that has changed.

resultRemoved

public void resultRemoved(Result child,
                          Result parent)
Description copied from interface: ResultListener
A result was removed.

Specified by:
resultRemoved in interface ResultListener
Parameters:
child - result that was removed
parent - Parent result that was removed from

Release 0.4.0 (2011-09-20_1324)