org.opt4j.tutorial.salesman
Class SalesmanCreator

java.lang.Object
  extended by org.opt4j.tutorial.salesman.SalesmanCreator
All Implemented Interfaces:
org.opt4j.core.problem.Creator<org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City>>

public class SalesmanCreator
extends java.lang.Object
implements org.opt4j.core.problem.Creator<org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City>>


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

Field Detail

problem

protected final SalesmanProblem problem
Constructor Detail

SalesmanCreator

@Inject
public SalesmanCreator(SalesmanProblem problem)
Method Detail

create

public org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City> create()
Specified by:
create in interface org.opt4j.core.problem.Creator<org.opt4j.core.genotype.PermutationGenotype<SalesmanProblem.City>>