Class TaskPartitionerFixedsize

  • Direct Known Subclasses:
    TaskPartitionerNaive, TaskPartitionerStatic

    public class TaskPartitionerFixedsize
    extends TaskPartitioner
    This naive task partitioner virtually iterates over the given FOR loop (from, to, incr), creates iterations and group them to tasks according to the given task size. There, all tasks are equally sized.
    • Constructor Detail

    • Method Detail

      • createTasks

        public long createTasks​(LocalTaskQueue<Task> queue)
        Description copied from class: TaskPartitioner
        Creates set of all tasks for given problem, but streams them directly into task queue. This allows for more tasks than fitting in main memory.
        Specified by:
        createTasks in class TaskPartitioner
        Parameters:
        queue - queue of takss
        Returns:
        ?