Beginning DFS functionality.

This commit is contained in:
Jonathan Turner 2024-02-03 15:39:58 -05:00
parent 489ee0a50c
commit 9bcf2ddb9d

View File

@ -1,4 +1,21 @@
package Assignments.A1.solving_algorithms; package Assignments.A1.solving_algorithms;
import Assignments.A1.models.Board;
import Assignments.A1.models.Move;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Stack;
public class DFS { public class DFS {
private HashSet<Board> visited = new HashSet<>();
private HashMap<Board, Stack<Move>> moves = new HashMap<>();
public void dfs(Board currentState) {
}
} }