Package elki.parallel

Class ParallelExecutor


  • public final class ParallelExecutor
    extends java.lang.Object
    Class to run processors in parallel, on all available cores. TODO: add progress
    Since:
    0.7.0
    Author:
    Erich Schubert
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static class  ParallelExecutor.BlockArrayRunner
      Run for an array part, without step size.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ParallelExecutor()
      Private constructor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void run​(DBIDs ids, Processor... procs)
      Run a task on all available CPUs.
      • Methods inherited from class java.lang.Object

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

      • ParallelExecutor

        private ParallelExecutor()
        Private constructor. Static methods only.
    • Method Detail

      • run

        public static void run​(DBIDs ids,
                               Processor... procs)
        Run a task on all available CPUs.
        Parameters:
        ids - IDs to process
        procs - Processors to run