Class ASSearchStrategy

    • Constructor Detail

      • ASSearchStrategy

        public ASSearchStrategy()
    • Method Detail

      • stepInit

        public void stepInit()
        Initialize the step
      • getIncomingConnectionTypes

        public List<String> getIncomingConnectionTypes()
        Get a list of incoming connections that this step accepts. This step is an info only step, so no incoming connections are allowed
        Returns:
        a list of connections that this step accepts
      • getOutgoingConnectionTypes

        public List<String> getOutgoingConnectionTypes()
        Get a list of outgoing connections from this step. This step is an info only step, so the only outgoing connection is of type "info".
        Returns:
        a list of outgoing connections
      • getWrappedAlgorithmClass

        public Class getWrappedAlgorithmClass()
        Get the class of the algorithm wrapped by this wrapper step (ASSearch in this case).
        Specified by:
        getWrappedAlgorithmClass in class WekaAlgorithmWrapper
        Returns:
        the class of the wrapped algorithm
      • setWrappedAlgorithm

        public void setWrappedAlgorithm​(Object algo)
        Set the actual algorithm wrapped by this instance
        Overrides:
        setWrappedAlgorithm in class WekaAlgorithmWrapper
        Parameters:
        algo - the algorithm wrapped
      • setSearchStrategy

        @ProgrammaticProperty
        public void setSearchStrategy​(ASSearch searchStrategy)
        Set the search strategy wrapped by this step (calls setWrappedAlgorithm)
        Parameters:
        searchStrategy - the search strategy to wrap
      • getSearchStrategy

        public ASSearch getSearchStrategy()
        Get the search strategy wrapped by this step
        Returns: