Decision and strategy, simulations and probability models, card and board games, ...
- Posts: 1
- Joined: Thu Dec 02, 2010 12:20 am
Does anyone know about futoshiki puzzle how to satisfy the inequality constraints when writing a the solver in java.
or just the general Algo to solve futoshiki.
- Posts: 553
- Joined: Tue Mar 25, 2008 3:57 pm
Most sudoku-like problems can be solved using a depth-first backtracking algorithm. For example the Dancing Links algorithm can easily be adapted to work for this or any other exact cover problem.