Commit Graph

51 Commits

Author SHA1 Message Date
Jonathan Turner
7a81bd5dc8 Removed unused imports and provided JavaDocs. 2024-02-11 20:39:20 -05:00
Jonathan Turner
7242c5985f Removed unused imports and provided JavaDocs. 2024-02-11 20:25:09 -05:00
Jonathan Turner
d6a0ddcd8d Removed unused imports and provided JavaDocs. 2024-02-11 20:24:59 -05:00
Jonathan Turner
e0932b4721 Removed performance files. 2024-02-11 17:43:43 -05:00
Jonathan Turner
2da192b76d Finished designing and refractering code for GUI. 2024-02-11 17:42:05 -05:00
76888ebec7 Added Default Starting File. 2024-02-11 16:46:56 -05:00
66f2448b37 Modified DFS to perform more optimal for output analysis. 2024-02-11 16:45:30 -05:00
48d2c51652 Added support for both Mac M1 and X86 Windows 2024-02-11 11:31:33 -05:00
Jonathan Turner
f096276422 Implemented most functionality for the GUI and error correction. Removed Certain display settings. 2024-02-11 05:09:07 -05:00
Jonathan Turner
6b88415ac2 Implemented functionality to convert BoardNode to Treeitem for displaying iterations. 2024-02-11 04:08:58 -05:00
Jonathan Turner
c944ce121a Implemented Code Behind and VM file. 2024-02-11 03:39:09 -05:00
Jonathan Turner
1e554fbdb0 Added an interface to allow for simplier traversal. Need to implement to DFS as well. 2024-02-11 03:38:54 -05:00
Jonathan Turner
f7d888305d Fixed pathing. 2024-02-11 03:38:32 -05:00
Jonathan Turner
85f9abea53 Designed the FXML file. 2024-02-11 03:38:20 -05:00
Jonathan Turner
3b56a1fb50 Added RichTextFX (May be removed later. 2024-02-11 01:45:37 -05:00
Jonathan Turner
2714b23dab Added base start for javafx setup. 2024-02-11 01:39:33 -05:00
Jonathan Turner
53d046858f Added JavaFX Dependencies and resource mapping for seperation of concerns. 2024-02-11 01:39:16 -05:00
Jonathan Turner
5c2fde6c69 Modified project files and structure to fit with Maven for JavaFX support. 2024-02-11 00:37:10 -05:00
Jonathan Turner
75c215e4ec Added a function to print out traversal nodes. Modified Algorithms to return boardnode instead board. 2024-02-10 23:13:48 -05:00
cbd6f48667 Added ability to add children and track children nodes for printout. 2024-02-10 22:40:26 -05:00
Jonathan Turner
1b9af7a6ad Mid fix of Heuristics and UCS/BFS. 2024-02-10 08:36:18 -05:00
Jonathan Turner
261e49b329 Implemented BFS. Seems to be fully functioning. Need to fix generation of boards to prevent off chance of solved generations. 2024-02-08 02:05:22 -05:00
Jonathan Turner
e13806a179 Implemented BFS. Seems to be fully functioning. Need to fix generation of boards to prevent off chance of solved generations. 2024-02-08 02:03:21 -05:00
Jonathan Turner
db5565c1ae Creating new Branch for BFS 2024-02-07 01:09:29 -05:00
Jonathan Turner
dbfe4c6fe8 DFS is fully working, not finished (fine tune results at end) Output file for #d8bea791 filetype. 2024-02-07 01:04:09 -05:00
Jonathan Turner
d8bea791fb Still development of DFS, nonfunctional. Pushing to access on other device. 2024-02-07 01:01:13 -05:00
41c04cacec Changing DFS (by adding traverse) to give a Stack implementation. 2024-02-06 11:38:45 -05:00
156f8e0d19 Fixed Generation board to always generate a board that is solvable (fixed dfs null return). 2024-02-05 21:59:29 -05:00
Jonathan Turner
687eb8964b Still development of DFS, nonfunctional. Pushing to access on other device. 2024-02-05 18:50:29 -05:00
8ecead1b37 Add the ability to get a list of possible moves on the board. 2024-02-04 15:55:12 -05:00
Jonathan Turner
9bcf2ddb9d Beginning DFS functionality. 2024-02-03 15:39:58 -05:00
Jonathan Turner
489ee0a50c Added functionality to keep track of moves. 2024-02-03 15:25:22 -05:00
Jonathan Turner
fe89cf76af Removed JUnit Tests. 2024-02-03 15:02:30 -05:00
Jonathan Turner
36ff8d70fa Fixed javadocs 2024-02-03 15:01:21 -05:00
Jonathan Turner
ec0c41975d Depricated Piece.java and modified functionality to work under an int[]. 2024-02-03 14:59:42 -05:00
Jonathan Turner
b6bbbef44b Removed the PuzzleManager.java and move Generator to models. 2024-02-03 14:22:34 -05:00
Jonathan Turner
e98ad869e8 Added functionality to allow for a board to be generated and check if the board is solvable. 2024-02-03 14:21:37 -05:00
Jonathan Turner
945ef8fff6 Created parameters to allow for changable ways of the algorithms conditions. 2024-02-03 12:46:34 -05:00
Jonathan Turner
cd266d583d Added a method to get the pieces in order. 2024-02-03 12:39:07 -05:00
Jonathan Turner
0a05da12bb Added missing javadocs. 2024-02-03 11:52:31 -05:00
Jonathan Turner
c5687291be Implemented the capability of copying pieces from another piece. Prevents pass by reference. 2024-02-03 11:50:55 -05:00
Jonathan Turner
56294257de Implementing hashing capabilities to the Board class. 2024-02-03 11:50:13 -05:00
Jonathan Turner
a264075c1f Implementing hashing capabilities to the Board class. 2024-02-03 11:50:06 -05:00
Jonathan Turner
a07e2098b0 Fixed logical error.... 2024-02-03 00:23:04 -05:00
Jonathan Turner
b7b59d282f Modified and updated classes. 2024-02-02 20:25:43 -05:00
Jonathan Turner
d15216acf2 Created and added methods to the class Board.java to keep track of permutation states. 2024-02-02 20:25:26 -05:00
Jonathan Turner
a1e6bad176 Added tests for Piece and added a valid move check. 2024-02-02 20:10:22 -05:00
Jonathan Turner
6025d318ff Fixed Preconditions for Piece Constructor. 2024-02-02 18:44:35 -05:00
Jonathan Turner
7ade1782d7 Modified Piece.java to fix any warnings and make value final. 2024-02-02 18:41:58 -05:00
Jonathan Turner
3375357755 Creates the Piece.java class and created the appropriate JavaDocs. 2024-02-02 18:36:05 -05:00