Class AbstractModelTaskRawResult
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.api.model.postprocessing.AbstractModelTaskRawResult
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NGramRawResult
,SimpleObjectEqualityRawResult
public abstract class AbstractModelTaskRawResult extends java.lang.Object implements java.io.Serializable
Raw results storage class, acts a stored cache. Data structure from this can be directly accessed in post-processingMust be serializable!!!
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractModelTaskRawResult()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract boolean
isEmpty()
Tests if the rawResult set should be discarded, as it contains no results dataabstract boolean
testType(AbstractModelTaskRawResult baseline)
Check that this object is of the same exact type as the baseline, including check any generic types are equal
-
-
-
Method Detail
-
isEmpty
public abstract boolean isEmpty()
Tests if the rawResult set should be discarded, as it contains no results data- Returns:
- is empty of data
-
testType
public abstract boolean testType(AbstractModelTaskRawResult baseline)
Check that this object is of the same exact type as the baseline, including check any generic types are equalTODO: suggested implementation here.....
- Parameters:
baseline
- the baseline object, in the set, current instance must be of the same exact type as this- Returns:
- is same type?
-
-