Interface MarkDataSelector

All Known Implementing Classes:
BasicMarkDataSelector, DetectionGroupProcess.DataSelector

public interface MarkDataSelector
Class that helps to chose whether a data unit within a given mark is actually wanted or not. These are generally held and managed by things that receive marks, rather than mark providers.
Author:
Doug Gillespie
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    wantDataUnit(PamDataUnit dataUnit, int overlapLevel)
    Test a data unit that within a mark to see if it's wanted or not.
  • Field Details

  • Method Details

    • wantDataUnit

      boolean wantDataUnit(PamDataUnit dataUnit, int overlapLevel)
      Test a data unit that within a mark to see if it's wanted or not.
      Parameters:
      dataUnit - data unit
      overlapLevel - level of overlap with the mark.
      Returns:
      true if we want to keep the data unit.