org.opt4j.core.problem
Interface Decoder<G extends Genotype,P>

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

public interface Decoder<G extends Genotype,P>

The Decoder decodes Genotypes into phenotype Objects.

See Also:
Genotype

Method Summary
 P decode(G genotype)
          Decodes a given Genotype to the corresponding phenotype.
 

Method Detail

decode

P decode(G genotype)
Decodes a given Genotype to the corresponding phenotype.

Parameters:
genotype - the genotype to decode
Returns:
the decoded phenotype