Chapter 4. Planner Configuration

4.1. Overview

Solving a planning problem with Planner consists out of 5 steps:
  1. Model your planning problem as a class that implements the interface Solution, for example the class NQueens.
  2. Configure a Solver, for example a First Fit and Tabu Search solver for any NQueens instance.
  3. Load a problem data set from your data layer, for example a 4 Queens instance. That is the planning problem.
  4. Solve it with Solver.solve(planningProblem).
  5. Get the best solution found by the Solver with Solver.getBestSolution().