Class ExpressionProblem


  • public class ExpressionProblem
    extends org.jgap.gp.GPProblem
    JGAP GPProblem implementation for EAGLE and all derivates. Creates a population of individuals for the given linking task.
    Version:
    Jul 21, 2016
    Author:
    Klaus Lyko (lyko@informatik.uni-leipzig.de), Mohamed Sherif (sherif@informatik.uni-leipzig.de)
    • Field Detail

      • SUBPROGRAM

        public static org.jgap.gp.CommandGene SUBPROGRAM
    • Constructor Detail

      • ExpressionProblem

        public ExpressionProblem​(org.jgap.gp.impl.GPConfiguration a_conf)
                          throws org.jgap.InvalidConfigurationException
        Basic constructor for the EAGLE approaches. Dissables Preprocessing learning.
        Parameters:
        a_conf - GPConfiguration
        Throws:
        org.jgap.InvalidConfigurationException - new Measures and other CommandGenes to also learn Preprocessing
      • ExpressionProblem

        public ExpressionProblem​(org.jgap.gp.impl.GPConfiguration a_conf,
                                 boolean learnPreprocessing)
                          throws org.jgap.InvalidConfigurationException
        Constructor to decide whether Preprocessing is part of evolution.
        Parameters:
        a_conf -
        learnPreprocessing -
        Throws:
        org.jgap.InvalidConfigurationException - when an invalid value has been passed to a Configuration object
    • Method Detail

      • create

        public org.jgap.gp.impl.GPGenotype create()
                                           throws org.jgap.InvalidConfigurationException
        Specified by:
        create in class org.jgap.gp.GPProblem
        Throws:
        org.jgap.InvalidConfigurationException
      • getLearnPreProcessing

        public boolean getLearnPreProcessing()
      • setLearnPreProcessing

        public void setLearnPreProcessing​(boolean learnPreProcessing)