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.Object
Top 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 void
execute()
Do work and create the resultsabstract K
getRawResult()
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
-
-