Opus5
Interface Solver
- All Known Implementing Classes:
- AbstractSolver
- public interface Solver
A solver is an abstract machine that solves a problem
by exploring its solution space.
- Version:
- $Id: Solver.java,v 3.2 1998/07/28 14:07:26 brpreiss Exp $
- Author:
- Bruno R. Preiss, P.Eng.
- See Also:
Solution
|
Field Summary |
static java.lang.String |
copyright
|
|
Method Summary |
Solution |
solve(Solution initial)
Returns an optimal solution to a given problem by searching its
solution space. |
copyright
public static final java.lang.String copyright
solve
public Solution solve(Solution initial)
- Returns an optimal solution to a given problem by searching its
solution space.
The optimal solution is a complete solution that
is feasible and for which the objective function is minimized
- Parameters:
initial - The initial node in the solution space from which to
begin the search- Returns:
- The optimal solution.
- See Also:
Solution.isComplete(),
Solution.isFeasible(),
Solution.getObjective()