I - the input that can be processed by the computationF - the type of the factory for the input processorspublic class ReasonerComputation<I,F extends InputProcessorFactory<I,?>> extends ConcurrentComputation<I,F>
ConcurrentComputation used for executing of reasoner stages| Modifier and Type | Field and Description |
|---|---|
protected ProgressMonitor |
progressMonitor
the progress monitor used to report the progress of this computation
|
protected Iterator<? extends I> |
todo
the inputs to be processed
|
| Constructor and Description |
|---|
ReasonerComputation(Collection<? extends I> inputs,
F inputProcessorFactory,
ComputationExecutor executor,
int maxWorkers,
ProgressMonitor progressMonitor) |
| Modifier and Type | Method and Description |
|---|---|
void |
process()
Process the given input concurrently using the provided input processor.
|
finish, getInputProcessorFactory, setInterrupt, start, submit, waitWorkersisInterruptedprotected final ProgressMonitor progressMonitor
public ReasonerComputation(Collection<? extends I> inputs, F inputProcessorFactory, ComputationExecutor executor, int maxWorkers, ProgressMonitor progressMonitor)
Copyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.