public interface SolutionAcceptor
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptSolution(Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
Accepts solution or not, and returns true if a new solution has been accepted.
|
boolean acceptSolution(Collection<VehicleRoutingProblemSolution> solutions, VehicleRoutingProblemSolution newSolution)
If the solution is accepted, it is added to solutions, i.e. the solutions-collections is modified.
solutions - collection of existing solutionsnewSolution - new solution to be evaluatedCopyright © 2013–2019. All rights reserved.