This commit is contained in:
Simon CATANESE 2024-06-26 23:40:39 +02:00
parent 6899b0db33
commit 061e6e8780

View File

@ -25,7 +25,7 @@ public class EightQueensSolver {
for (int i = 0; i < 10; i++) {
solver.chessboard = new Chessboard();
long startTime = System.currentTimeMillis();
solver.Solver(0);
solver.SolverVic(0);
long endTime = System.currentTimeMillis();
time += endTime - startTime;
@ -57,7 +57,7 @@ public class EightQueensSolver {
// Méthode de résolution de victor
public Boolean Solver(int level) {
public Boolean SolverVic(int level) {
if (chessboard.getNumberOfQueen() == Chessboard.currentSize) {
return true;
}