Package weka.core

Interface Aggregateable<E>

    • Method Detail

      • aggregate

        E aggregate​(E toAggregate)
             throws java.lang.Exception
        Aggregate an object with this one
        Parameters:
        toAggregate - the object to aggregate
        Returns:
        the result of aggregation
        Throws:
        java.lang.Exception - if the supplied object can't be aggregated for some reason
      • finalizeAggregation

        void finalizeAggregation()
                          throws java.lang.Exception
        Call to complete the aggregation process. Allows implementers to do any final processing based on how many objects were aggregated.
        Throws:
        java.lang.Exception - if the aggregation can't be finalized for some reason