Class ResultMerge<T extends CacheableData<?>>

    • Constructor Detail

      • ResultMerge

        public ResultMerge​(T out,
                           T[] in,
                           String outputFilename,
                           boolean accum)
    • Method Detail

      • executeSerialMerge

        public abstract T executeSerialMerge()
        Merge all given input matrices sequentially into the given output matrix. The required space in-memory is the size of the output matrix plus the size of one input matrix at a time.
        Returns:
        output (merged) matrix
      • executeParallelMerge

        public abstract T executeParallelMerge​(int par)
        Merge all given input matrices in parallel into the given output matrix. The required space in-memory is the size of the output matrix plus the size of all input matrices.
        Parameters:
        par - degree of parallelism
        Returns:
        output (merged) matrix