Class WekaGeneticAlgorithmContainer

    • Constructor Detail

      • WekaGeneticAlgorithmContainer

        public WekaGeneticAlgorithmContainer()
        Initializes the container.

        Only used for generating help information.
      • WekaGeneticAlgorithmContainer

        public WekaGeneticAlgorithmContainer​(weka.classifiers.Classifier cls)
        Initializes the container the setup.
        Parameters:
        cls - the setup to use
      • WekaGeneticAlgorithmContainer

        public WekaGeneticAlgorithmContainer​(weka.classifiers.Classifier cls,
                                             Measure measure,
                                             Double fitness,
                                             String weightsStr,
                                             int[] weights)
        Initializes the container.
        Parameters:
        cls - the setup to use
        measure - the measure to use, can be null
        fitness - the fitness to use, can be null
        weightsStr - the weights string to use, can be null
        weights - the weights to use, can be null
    • Method Detail

      • isValid

        public boolean isValid()
        Checks whether the setup of the container is valid.
        Specified by:
        isValid in interface Container
        Specified by:
        isValid in class AbstractContainer
        Returns:
        true if all the necessary values are available