Package org.opt4j.benchmarks
Class DoubleCopyDecoder
java.lang.Object
org.opt4j.benchmarks.DoubleCopyDecoder
- All Implemented Interfaces:
Decoder<DoubleString,
DoubleString>
The
DoubleCopyDecoder
passes the DoubleString
directly to the
evaluator.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(DoubleString genotype) Decodes a givenGenotype
to the corresponding phenotype.
-
Constructor Details
-
DoubleCopyDecoder
public DoubleCopyDecoder()
-
-
Method Details
-
decode
Description copied from interface:Decoder
Decodes a givenGenotype
to the corresponding phenotype.- Specified by:
decode
in interfaceDecoder<DoubleString,
DoubleString> - Parameters:
genotype
- the genotype to decode- Returns:
- the decoded phenotype
-