Added iteration counter to Solver.java

This commit is contained in:
Jonathan Turner 2024-02-11 21:34:34 -05:00
parent 29328c2288
commit 76c66440d6

View File

@ -11,6 +11,16 @@ import Assignments.A1.models.BoardNode;
*/ */
public interface Solver { public interface Solver {
/**
* Returns the number of nodes from the previous iterations.
*
* @precondition none
* @postcondition none
*
* @return the number of nodes from the interation.
*/
int getNumberOfNodes();
/** /**
* Solves for, finds and creates a spanning representing the solving pattern. * Solves for, finds and creates a spanning representing the solving pattern.
* *