Finished Project, Creating Performance Files and References.
This commit is contained in:
parent
d4ba6c78d4
commit
8e17de3392
@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
|
4
pom.xml
4
pom.xml
@ -17,12 +17,12 @@
|
||||
<dependency>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-controls</artifactId>
|
||||
<version>18.0.2</version>
|
||||
<version>21-ea+24</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.openjfx</groupId>
|
||||
<artifactId>javafx-fxml</artifactId>
|
||||
<version>18.0.2</version>
|
||||
<version>21-ea+24</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
|
@ -9,6 +9,6 @@ package Assignments.A1.resources;
|
||||
public class Parameters {
|
||||
|
||||
/* Used to prevent DFS from going down only 1 branch */
|
||||
public static final int MAX_DEPTH = 100; // Max number of moves in 8-Puzzle's are 31 moves if solvable.
|
||||
public static final int MAX_DEPTH = 150; // Max number of moves in 8-Puzzle's are 31 moves if solvable.
|
||||
|
||||
}
|
@ -42,7 +42,7 @@ public class DFS implements Solver {
|
||||
return current;
|
||||
}
|
||||
|
||||
if (current.depth > Parameters.MAX_DEPTH || tried.contains(current.toString())) {
|
||||
if (current.depth > Parameters.MAX_DEPTH || tried.contains(current.board.toString())) {
|
||||
continue;
|
||||
}
|
||||
tried.add(current.toString());
|
||||
|
BIN
src/main/resources/A1/submission_files/AStar Performance.png
Normal file
BIN
src/main/resources/A1/submission_files/AStar Performance.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
src/main/resources/A1/submission_files/BFS Performance.png
Normal file
BIN
src/main/resources/A1/submission_files/BFS Performance.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
BIN
src/main/resources/A1/submission_files/DFS Spanning Tree.png
Normal file
BIN
src/main/resources/A1/submission_files/DFS Spanning Tree.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
BIN
src/main/resources/A1/submission_files/UCS Performance.png
Normal file
BIN
src/main/resources/A1/submission_files/UCS Performance.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
Loading…
Reference in New Issue
Block a user