public class AlgorithmContainer extends AbstractAlgo
Algorithm
interface.
The execute method calls all Algorithm.execute() methods and passes the
result of each one as input for the next one.EMPTY_READ_ONLY_PARAMS_MAP
Constructor and Description |
---|
AlgorithmContainer(String algoName)
constructor for an algorithm container
|
Modifier and Type | Method and Description |
---|---|
void |
addAlgo(AbstractAlgo newAlgo) |
Map<AlgoIOKeys,Object> |
execute(Map<AlgoIOKeys,Object> input)
calls the execute method of each algorithm and passes the results from
one to the other until the end of the algorithm list is reached
|
getName
public AlgorithmContainer(String algoName)
public void addAlgo(AbstractAlgo newAlgo)
public Map<AlgoIOKeys,Object> execute(Map<AlgoIOKeys,Object> input)
input
- the input parameter mapCopyright © 2006–2015. All rights reserved.