/* An instance of this class is a node in a tree that embodies a search for ** a solution to a given Slider Puzzle problem. Each node contains a ** Slider Puzzle Configuration and a String that encodes the sequence of ** moves leading to that configuration from the starting configuraiton. ** ** Author: R. McCloskey ** Date: April 2022 */ public class SliderPuzzleSolverNode { // instance variables // ------------------ public SliderPuzzleConfig config; // configuration stored in this node public String moveSeq; // encodes a sequence of moves leading to // config from some starting configuration public SliderPuzzleSolverNode(SliderPuzzleConfig spc, String moveSeq) { this.config = spc; this.moveSeq = moveSeq; } }