Package elki.workflow
Class AlgorithmStep
- java.lang.Object
-
- elki.workflow.AlgorithmStep
-
- All Implemented Interfaces:
WorkflowStep
public class AlgorithmStep extends java.lang.Object implements WorkflowStep
The "algorithms" step, where data is analyzed.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlgorithmStep.Par
Parameterization class.
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<? extends Algorithm>
algorithms
Holds the algorithm to run.private static Logging
LOG
Loggerprivate java.lang.Object
stepresult
The algorithm output
-
Constructor Summary
Constructors Constructor Description AlgorithmStep(java.util.List<? extends Algorithm> algorithms)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getResult()
Get the result.java.lang.Object
runAlgorithms(Database database)
Run algorithms.
-
-
-
Constructor Detail
-
AlgorithmStep
public AlgorithmStep(java.util.List<? extends Algorithm> algorithms)
Constructor.- Parameters:
algorithms
-
-
-
Method Detail
-
runAlgorithms
public java.lang.Object runAlgorithms(Database database)
Run algorithms.- Parameters:
database
- Database- Returns:
- Algorithm result
-
getResult
public java.lang.Object getResult()
Get the result.- Returns:
- Result.
-
-