Package elki.parallel.processor
Class WriteDoubleDataStoreProcessor
- java.lang.Object
-
- elki.parallel.processor.WriteDoubleDataStoreProcessor
-
- All Implemented Interfaces:
Processor
public class WriteDoubleDataStoreProcessor extends java.lang.Object implements Processor
Write double values into aWritableDoubleDataStore
.- Since:
- 0.7.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
WriteDoubleDataStoreProcessor.Instance
Instance for a sub-channel.
-
Field Summary
Fields Modifier and Type Field Description (package private) SharedDouble
input
Shared double variable(package private) WritableDoubleDataStore
store
Store to write to
-
Constructor Summary
Constructors Constructor Description WriteDoubleDataStoreProcessor(WritableDoubleDataStore store)
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 the input variableWriteDoubleDataStoreProcessor.Instance
instantiate(Executor executor)
Create an instance.
-
-
-
Field Detail
-
store
WritableDoubleDataStore store
Store to write to
-
input
SharedDouble input
Shared double variable
-
-
Constructor Detail
-
WriteDoubleDataStoreProcessor
public WriteDoubleDataStoreProcessor(WritableDoubleDataStore store)
Constructor.- Parameters:
store
- Data store to write to
-
-
Method Detail
-
connectInput
public void connectInput(SharedDouble input)
Connect the input variable- Parameters:
input
- Input variable
-
instantiate
public WriteDoubleDataStoreProcessor.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.
-
-