I have defined a data type which involves an N*N grid with one of the element marking blank position like in the 8-puzzle problem. I am not very much familiar with java so am unable to use iterables to come up with all possible neighbours. Can someone help me with it? A proper explanation of how it can be implemented.
Aucun commentaire:
Enregistrer un commentaire