Localiser
Class DetectionGrouper<t extends PamDetection>
java.lang.Object
Localiser.DetectionGrouper<t>
- Direct Known Subclasses:
- WhistleDetectionGrouper
public abstract class DetectionGrouper<t extends PamDetection>
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pamControlledUnit
private PamControlledUnit pamControlledUnit
sourceDataBlock
private PamDataBlock<t extends PamDetection> sourceDataBlock
groupedSourceParameters
private GroupedSourceParameters groupedSourceParameters
nGroups
int nGroups
matches
private java.util.ArrayList<t extends PamDetection> matches
DetectionGrouper
public DetectionGrouper(PamControlledUnit pamControlledUnit,
PamDataBlock<t> sourceDataBlock)
setupGroups
public void setupGroups(GroupedSourceParameters groupedSourceParameters)
findGroups
public java.util.ArrayList<t> findGroups(t pamDetection)
- Call this just before a detection is added to a PamDataBlock so that
localisation information can be added to the detection before it goes
off into the PAMGUARD system.
- Parameters:
pamDetection - new Detection
- Returns:
- list of matches to this detection.
match
public abstract boolean match(PamDetection currentData,
PamDetection olderData)