NEATPopulation
org.encog.neural.neat

Class NEATPopulation

    • Constructor Detail

      • NEATPopulation

        public NEATPopulation(int inputCount,              int outputCount,              int populationSize)
        Construct a starting NEAT population.
        Parameters:
        inputCount - The input neuron count.
        outputCount - The output neuron count.
        populationSize - The population size.
      • NEATPopulation

        public NEATPopulation()
    • Method Detail

      • getInputCount

        public int getInputCount()
        Returns:
        the inputCount
      • setInputCount

        public void setInputCount(int inputCount)
        Parameters:
        inputCount - the inputCount to set
      • getOutputCount

        public int getOutputCount()
        Returns:
        the outputCount
      • setOutputCount

        public void setOutputCount(int outputCount)
        Parameters:
        outputCount - the outputCount to set
      • getNeatActivationFunction

        public ActivationFunction getNeatActivationFunction()
        Returns:
        the neatActivationFunction
      • setNeatActivationFunction

        public void setNeatActivationFunction(ActivationFunction neatActivationFunction)
        Parameters:
        neatActivationFunction - the neatActivationFunction to set
      • getOutputActivationFunction

        public ActivationFunction getOutputActivationFunction()
        Returns:
        the outputActivationFunction
      • setOutputActivationFunction

        public void setOutputActivationFunction(ActivationFunction outputActivationFunction)
        Parameters:
        outputActivationFunction - the outputActivationFunction to set
      • isSnapshot

        public boolean isSnapshot()
        Returns:
        the snapshot
      • setSnapshot

        public void setSnapshot(boolean snapshot)
        Parameters:
        snapshot - the snapshot to set

SCaVis 2.1 © jWork.ORG