Documentation of 'org.encog.neural.neat.training.NEATLinkGene' Java class
NEATLinkGene
org.encog.neural.neat.training

Class NEATLinkGene

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<NEATBaseGene>


    public class NEATLinkGene
    extends NEATBaseGene
    implements java.io.Serializable
    Implements a NEAT link gene. This describes a way in which two neurons are linked. NeuroEvolution of Augmenting Topologies (NEAT) is a genetic algorithm for the generation of evolving artificial neural networks. It was developed by Ken Stanley while at The University of Texas at Austin. ----------------------------------------------------------------------------- http://www.cs.ucf.edu/~kstanley/ Encog's NEAT implementation was drawn from the following three Journal Articles. For more complete BibTeX sources, see NEATNetwork.java. Evolving Neural Networks Through Augmenting Topologies Generating Large-Scale Neural Networks Through Discovering Geometric Regularities Automatic feature selection in neuroevolution
    See Also:
    Serialized Form
    • Constructor Detail

      • NEATLinkGene

        public NEATLinkGene()
        Default constructor, used mainly for persistence.
      • NEATLinkGene

        public NEATLinkGene(long fromNeuronID,
                            long toNeuronID,
                            boolean enabled,
                            long innovationID,
                            double weight)
        Construct a NEAT link gene.
        Parameters:
        fromNeuronID - The source neuron.
        toNeuronID - The target neuron.
        enabled - Is this link enabled.
        innovationID - The innovation id.
        weight - The weight.
    • Method Detail

      • copy

        public void copy(NEATLinkGene gene)
        Copy from another gene.
        Parameters:
        gene - The other gene.
      • getFromNeuronID

        public long getFromNeuronID()
        Returns:
        The from neuron id.
      • getToNeuronID

        public long getToNeuronID()
        Returns:
        The to neuron id.
      • getWeight

        public double getWeight()
        Returns:
        The weight of this connection.
      • setWeight

        public void setWeight(double weight)
        Set the weight of this connection.
        Parameters:
        weight - The connection weight.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setFromNeuronID

        public void setFromNeuronID(int i)
        Set the from neuron id.
        Parameters:
        i - The from neuron id.
      • setToNeuronID

        public void setToNeuronID(int i)
        Set the to neuron id.
        Parameters:
        i - The to neuron id.
      • isEnabled

        public boolean isEnabled()
        Returns:
        True, if this gene is enabled.
      • setEnabled

        public void setEnabled(boolean e)
        Parameters:
        e - True, if this gene is enabled.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.