Package elki.workflow

Class 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
      Logger
      private 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final Logging LOG
        Logger
      • algorithms

        private java.util.List<? extends Algorithm> algorithms
        Holds the algorithm to run.
      • stepresult

        private java.lang.Object stepresult
        The algorithm output
    • 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.