|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Solver
The Solver is an interface for SAT/PB solvers.
| Method Summary | |
|---|---|
void |
addConstraint(Constraint constraint)
Adds a Constraint to the Solver. |
Model |
solve(Order order)
Solve the problem defined by the constraints with a given order (branching strategy). |
| Method Detail |
|---|
void addConstraint(Constraint constraint)
Constraint to the Solver.
constraint - the added constraint
Model solve(Order order)
throws TimeoutException,
ContradictionException
order - the branching strategy
ContradictionException - if no feasible solution exists
TimeoutException - if a feasible solution cannot be found within a given amount
of time
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||