Package whistlesAndMoans
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 Summary
Modifier and TypeMethodDescriptionint
fragmentRegion
(ConnectedRegion connectedRegion) Fragment a connected regiongetFragment
(int iFragment) Get a specific fragmentint
Get the number of fragments
-
Method Details
-
fragmentRegion
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
Get a specific fragment- Parameters:
iFragment
- fragment number (0 to getNumFragments);- Returns:
- the ith fragment
-