Class 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-processing

    Must be serializable!!!

    See Also:
    Serialized Form
    • 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 data
      abstract boolean testType​(AbstractModelTaskRawResult baseline)
      Check that this object is of the same exact type as the baseline, including check any generic types are equal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractModelTaskRawResult

        public AbstractModelTaskRawResult()
    • 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 equal

        TODO: 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?