Interface Decoder<G extends Genotype,P extends Phenotype>

Type Parameters:
G - the type of genotype that is decoded
P - the type of the resulting phenotype}

public interface Decoder<G extends Genotype,P extends Phenotype>
The Decoder decodes Genotypes into Phenotypes.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(G genotype)
    Decodes a given Genotype to the corresponding Phenotype.
  • Method Details

    • decode

      P decode(G genotype)
      Decodes a given Genotype to the corresponding Phenotype.
      Parameters:
      genotype - the genotype to decode
      Returns:
      the decoded phenotype