Package elki.parallel

Class SingleThreadedExecutor.SingleThreadedRunner

  • All Implemented Interfaces:
    Executor
    Enclosing class:
    SingleThreadedExecutor

    protected static class SingleThreadedExecutor.SingleThreadedRunner
    extends java.lang.Object
    implements Executor
    Run for an array part, without step size.
    Author:
    Erich Schubert
    • Constructor Detail

      • SingleThreadedRunner

        protected SingleThreadedRunner​(DBIDs ids,
                                       Processor[] procs)
        Constructor.
        Parameters:
        ids - IDs to process
        procs - Processor functions to run
    • Method Detail

      • run

        public void run()
      • getInstance

        public <I extends SharedVariable.Instance<?>> I getInstance​(SharedVariable<I> parent)
        Description copied from interface: Executor
        Get a channel for this executor.
        Specified by:
        getInstance in interface Executor
        Type Parameters:
        I - Variable type
        Parameters:
        parent - Channel parent
        Returns:
        Channel instance