Documentation of 'org.encog.ml.genetic.MLEncodableCODEC' Java class
MLEncodableCODEC
org.encog.ml.genetic

Class MLEncodableCODEC

  • All Implemented Interfaces:
    java.io.Serializable, GeneticCODEC


    public class MLEncodableCODEC
    extends java.lang.Object
    implements GeneticCODEC, java.io.Serializable
    A CODEC for IMLEncodable classes.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      MLEncodableCODEC() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      MLMethod decode(Genome genome)
      Decode the specified genome into a phenome.
      Genome encode(MLMethod phenotype)
      Attempt to build a genome from a phenome.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MLEncodableCODEC

        public MLEncodableCODEC()
    • Method Detail

      • decode

        public MLMethod decode(Genome genome)
        Decode the specified genome into a phenome. A phenome is an actual instance of a genome that you can query.
        Specified by:
        decode in interface GeneticCODEC
        Parameters:
        genome - The genome to decode.
        Returns:
        The phenome.
      • encode

        public Genome encode(MLMethod phenotype)
        Attempt to build a genome from a phenome. Note: not all CODEC's support this. If it is unsupported, an exception will be thrown.
        Specified by:
        encode in interface GeneticCODEC
        Parameters:
        phenotype - The phenotype.
        Returns:
        The genome.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.