Interface RegionFragmenter

All Known Implementing Classes:
DiscardingFragmenter, FragmentingFragmenter, NullFragmenter, RejoiningFragmenter

public interface RegionFragmenter
Method for breaking up connected regions which contain multiple crossing whistles into sensible parts.
Author:
Doug Gillespie
  • Method Details

    • fragmentRegion

      int fragmentRegion(ConnectedRegion connectedRegion)
      Fragment a connected region
      Parameters:
      connectedRegion - region to fragment
      Returns:
      number of fragments.
    • getNumFragments

      int getNumFragments()
      Get the number of fragments
      Returns:
      the number of fragments
    • getFragment

      ConnectedRegion getFragment(int iFragment)
      Get a specific fragment
      Parameters:
      iFragment - fragment number (0 to getNumFragments);
      Returns:
      the ith fragment