merge
This commit is contained in:
parent
6899b0db33
commit
061e6e8780
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user