org.opt4j.tutorial.salesman
Class SalesmanDecoder

java.lang.Object
  extended by org.opt4j.tutorial.salesman.SalesmanDecoder
All Implemented Interfaces:
org.opt4j.core.problem.Decoder<org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City>,SalesmanRoute>

public class SalesmanDecoder
extends java.lang.Object
implements org.opt4j.core.problem.Decoder<org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City>,SalesmanRoute>


Constructor Summary
SalesmanDecoder()
           
 
Method Summary
 SalesmanRoute decode(org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City> genotype)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SalesmanDecoder

public SalesmanDecoder()
Method Detail

decode

public SalesmanRoute decode(org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City> genotype)
Specified by:
decode in interface org.opt4j.core.problem.Decoder<org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City>,SalesmanRoute>