Package qa.monitor

Interface DetectionMatcher<T extends PamDataUnit>

Type Parameters:
T -
All Known Implementing Classes:
TimeDetectionMatcher, TimeFreqDetectionMatcher, TimeWindowMatcher

public interface DetectionMatcher<T extends PamDataUnit>
Interface to allow a bit of flexibility as to how different 'detector' outputs are matched with generated QA sounds.
Author:
dg50
  • Method Details

    • getName

      String getName()
      Returns:
      The name of the match system
    • getDescription

      String getDescription()
      Returns:
      a longer description, perhaps including any parameters describing how this is configured
    • getOverlap

      double getOverlap(T detection, QASoundDataUnit qaSound)
      Get the overlap between the qaSound and the detection. This is reported as the percentage of the qaSound which is covered by the detection
      Parameters:
      detection -
      qaSound -
      Returns:
    • hasSettings

      boolean hasSettings()
      Returns:
      True if there is a settings dialog
    • showSettings

      boolean showSettings(Object parentWindow)
      show the settings dialog
      Parameters:
      parentWindow - parent window
      Returns:
      true if settings were OK'd.