Package elki.parallel.processor
Class DoubleMinMaxProcessor
- java.lang.Object
-
- elki.parallel.processor.DoubleMinMaxProcessor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
DoubleMinMaxProcessor.Instance
Instance for a particular sub-channel / part of the data set.
-
Field Summary
Fields Modifier and Type Field Description (package private) SharedDouble
input
Input channel(package private) DoubleMinMax
minmax
The central data store.
-
Constructor Summary
Constructors Constructor Description DoubleMinMaxProcessor()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup(Processor.Instance inst)
Invoke cleanup.void
connectInput(SharedDouble input)
Connect an input channel.DoubleMinMax
getMinMax()
Get the minmax object.DoubleMinMaxProcessor.Instance
instantiate(Executor executor)
Create an instance.protected void
merge(DoubleMinMax minmax)
Merge the result of an instance.
-
-
-
Field Detail
-
minmax
DoubleMinMax minmax
The central data store.
-
input
SharedDouble input
Input channel
-
-
Method Detail
-
connectInput
public void connectInput(SharedDouble input)
Connect an input channel.- Parameters:
input
- Input channel
-
instantiate
public DoubleMinMaxProcessor.Instance instantiate(Executor executor)
Description copied from interface:Processor
Create an instance. May be called multiple times, for example for multiple threads.- Specified by:
instantiate
in interfaceProcessor
- Parameters:
executor
- Job executor- Returns:
- Instance
-
cleanup
public void cleanup(Processor.Instance inst)
Description copied from interface:Processor
Invoke cleanup.
-
merge
protected void merge(DoubleMinMax minmax)
Merge the result of an instance.- Parameters:
minmax
- Minmax value
-
getMinMax
public DoubleMinMax getMinMax()
Get the minmax object.- Returns:
- Minmax object
-
-