java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_eval.multisource.EvaluatorMultiSource
Direct Known Subclasses:
EvaluatorMultiSourceBasic

public abstract class EvaluatorMultiSource extends Object
Abstract class for all multisource evaluators. The default results folder can be set via Evaluator.
  • Field Details

  • Constructor Details

    • EvaluatorMultiSource

      public EvaluatorMultiSource(ExecutionResultSetMultiSource results)
      Constructor.
      Parameters:
      results - The results of the matching process.
  • Method Details

    • writeToDirectory

      public void writeToDirectory()
      Perform an evaluation and persist the results of the evaluator in the default directory.
    • writeToDirectory

      public void writeToDirectory(File baseDirectory)
      Perform an evaluation and persist the results of the evaluator in the given directory.
      Parameters:
      baseDirectory - The directory which shall be used to place the evaluation files. The directory will be created if it does not exist.
    • writeResultsToDirectory

      protected abstract void writeResultsToDirectory(File baseDirectory)
    • writeToDirectory

      public void writeToDirectory(String baseDirectoryPath)
      Perform an evaluation and persist the results of the evaluator in the default directory.
      Parameters:
      baseDirectoryPath - The directory path which shall be used to place the evaluation files. The directory will be created if it does not exist.
    • checkAndCreateDirectory

      protected void checkAndCreateDirectory(File directory)
      Checks if the directory is not null, creates it and check if it is a directory. Throws an exception if something is not correct.
      Parameters:
      directory - the directory to inspect
    • getResultsDirectoryTrackMatcher

      protected File getResultsDirectoryTrackMatcher(File baseDirectory, Track track)
      Given a base directory and a test case, the target directory will be returned for aggregated results.
      Parameters:
      baseDirectory - Base directory for evaluation results.
      track - Track
      Returns:
      Directory where aggregated evaluation results can be persisted.