@@ -0,0 +1,1950 @@
+/*%0A * Project to resolve 2D cutting stock problem for Discreet Optimizations course at Polytech Lyon%0A * Copyright (C) 2015.  CARON Antoine and CHAUSSENDE Adrien%0A *%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as%0A * published by the Free Software Foundation, either version 3 of the%0A * License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage com.polytech4A.cuttingstock.core.solver;%0A%0Aimport com.polytech4A.cuttingstock.core.model.Solution;%0Aimport com.polytech4A.cuttingstock.core.resolution.util.Context;%0Aimport com.sun.istack.internal.NotNull;%0A%0A/**%0A * Created by Adrien CHAUSSENDE on 13/03/2015.%0A *%0A * @author Adrien CHAUSSENDE%0A * @version 1.0%0A *          %3Cp/%3E%0A *          Implementation of Simulated Annealing algorithm for the Cutting Stock problem. See more about the algorithm :%0A *          http://en.wikipedia.org/wiki/Simulated_annealing%0A */%0Apublic class SimulatedAnnealing extends Solver %7B%0A%0A    /**%0A     * Limit number of iterations of the algorithm.%0A     */%0A    private long nbIterations;%0A%0A    /**%0A     * Common ratio for decreasing the temperature through geometric progression.%0A     */%0A    private double mu;%0A%0A    /**%0A     * Global time-varying parameter used in the algorithm.%0A     * See : http://en.wikipedia.org/wiki/Simulated_annealing#Acceptance_probabilities%0A     */%0A    private double temperature;%0A%0A    @Override%0A    public Solution getSolution(@NotNull Solution solution, @NotNull Context context) %7B%0A        return null;%0A    %7D%0A%7D%0A

Add Simulated Annealing structure. Not implemented.