Show Table of Contents

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


Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.