@ -94,6 +94,9 @@ public class PuzzleState extends State {
return blank[i];
}
/**
* 获取s1中对应s2空格位置的位将牌值
*/
public int getBoardAtAnother(PuzzleState s1, PuzzleState s2) {
return s1.getBoardAt(s2.getBlank(0), s2.getBlank(1));