Cream version 1.2 Core API Specification

jp.ac.kobe_u.cs.cream
Interface SolutionHandler

All Known Implementing Classes:
ParallelSolver

public interface SolutionHandler

An interface for solution handlers. A solution handler is invoked by a solver. See Solver for example programs.

Since:
1.0
See Also:
Solver, Solution

Method Summary
 void solved(Solver solver, Solution solution)
          This method is called for each solution and at the end of search (solution is set to null).
 

Method Detail

solved

public void solved(Solver solver,
                   Solution solution)
This method is called for each solution and at the end of search (solution is set to null).

Parameters:
solver - the solver
solution - the solution or null at the end of search

Cream version 1.2 Core API Specification

Cream: Constraint Programming Class Library for Java