Esempio n. 1
0
        protected override int[] InitialSolution()
        {
            int[] solution;

            if (generatedSolutions == 0)
            {
                solution = TSPUtils.GreedySolution(Instance);
            }
            else
            {
                solution = TSPUtils.GRCSolution(Instance, 0.9);
            }

            generatedSolutions++;
            return(solution);
        }
 protected override int[] InitialSolution()
 {
     return(TSPUtils.GRCSolution(Instance, RclTreshold));
 }
 protected override int[] GRCSolution()
 {
     return(TSPUtils.GRCSolution(Instance, RCLThreshold));
 }