|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SolutionAcceptor
Acceptor that decides whether the newSolution is accepted or not.
| Method Summary | |
|---|---|
boolean |
acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
Accepts solution or not, and returns true if a new solution has been accepted. |
| Method Detail |
|---|
boolean acceptSolution(java.util.Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
If the solution is accepted, it is added to solutions, i.e. the solutions-collections is modified.
solutions - newSolution -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||