Class DetectorWorker<K extends AbstractModelTaskRawResult>
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.api.model.detection.DetectorWorker<K>
-
- Direct Known Subclasses:
PairwiseDetectorWorker
public abstract class DetectorWorker<K extends AbstractModelTaskRawResult> extends java.lang.ObjectTop level interface workers are required to implement
-
-
Constructor Summary
Constructors Constructor Description DetectorWorker(IDetector parent)Constructor for workers
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidexecute()Do work and create the resultsabstract KgetRawResult()Gets the results of the worker execution, only minimal processing should be performed in this method
-
-
-
Method Detail
-
execute
public abstract void execute()
Do work and create the results
-
getRawResult
public abstract K getRawResult()
Gets the results of the worker execution, only minimal processing should be performed in this method- Returns:
- worker results
-
-