|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--Opus5.ScalesBalancingProblem
Represents a scales balancing problem.
| Inner Class Summary | |
protected class |
ScalesBalancingProblem.Node
A node in the solution space of a scales balancing problem. |
| Field Summary | |
protected int |
numberOfWeights
The number of weights. |
protected int[] |
weight
The array of weights. |
| Constructor Summary | |
ScalesBalancingProblem(int[] weight)
Constructs a ScalesBalancingProblem
for the specified array of weights. |
|
| Method Summary | |
Solution |
solve(Solver solver)
Solves this scales-balancing problem using the specified solver. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int numberOfWeights
protected int[] weight
| Constructor Detail |
public ScalesBalancingProblem(int[] weight)
ScalesBalancingProblem
for the specified array of weights.weight - An array of weights.| Method Detail |
public Solution solve(Solver solver)
solver - The solver to use.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||