Ejemplo n.º 1
0
        public static TSPGenotype randomGenotype(TSP problem)
        {
            TSPGenotype g = new TSPGenotype(problem);

            g.genotype = problem.randomSolutionInt();
            return(g);
        }
Ejemplo n.º 2
0
 public TSPGenotype(TSP problem)
 {
     this.problem  = problem;
     this.genotype = problem.randomSolutionInt();
 }