protected static class ParallelExecutor.BlockArrayRunner extends Object implements Callable<ArrayDBIDs>, Executor
Modifier and Type | Field and Description |
---|---|
private int |
end
End position
|
private ArrayDBIDs |
ids
Array IDs to process
|
private Processor[] |
procs
The processor masters that own the instances.
|
private int |
start
Start position
|
private HashMap<SharedVariable<?>,SharedVariable.Instance<?>> |
variables
Variables map.
|
Modifier | Constructor and Description |
---|---|
protected |
ParallelExecutor.BlockArrayRunner(ArrayDBIDs ids,
int start,
int end,
Processor[] procs)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ArrayDBIDs |
call() |
<I extends SharedVariable.Instance<?>> |
getInstance(SharedVariable<I> parent)
Get a channel for this executor.
|
private ArrayDBIDs ids
private int start
private int end
private Processor[] procs
private HashMap<SharedVariable<?>,SharedVariable.Instance<?>> variables
protected ParallelExecutor.BlockArrayRunner(ArrayDBIDs ids, int start, int end, Processor[] procs)
ids
- IDs to processstart
- Starting positionend
- End positionprocs
- Processors to runpublic ArrayDBIDs call()
call
in interface Callable<ArrayDBIDs>
public <I extends SharedVariable.Instance<?>> I getInstance(SharedVariable<I> parent)
Executor
getInstance
in interface Executor
I
- Variable typeparent
- Channel parentCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.