Class EightPuzzle


public class EightPuzzle extends BranchAndBound
BRANCH AND BOUND PROBLEM: THE PUZZLE
Author:
vicegd
  • Constructor Details

    • EightPuzzle

      public EightPuzzle(topics.branchandbound.HeuristicType heuristicType, int[] board)
      Constructor for EightPuzzle objects
      Parameters:
      heuristicType - Type of the heuristic used to solve the problem - Manhattan or WrongPlace
      board - Representation of the board for playing the EightPuzzle