public class AlgorithmSearchProgressChartListener extends Object implements IterationEndsListener, AlgorithmEndsListener, AlgorithmStartsListener
Register this listener in VehicleRoutingAlgorithm.
| Constructor and Description |
|---|
AlgorithmSearchProgressChartListener(String pngFileName)
Constructs chart listener with target png-file (filename plus path).
|
| Modifier and Type | Method and Description |
|---|---|
void |
informAlgorithmEnds(VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions) |
void |
informAlgorithmStarts(VehicleRoutingProblem problem,
VehicleRoutingAlgorithm algorithm,
Collection<VehicleRoutingProblemSolution> solutions) |
void |
informIterationEnds(int i,
VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions) |
public AlgorithmSearchProgressChartListener(String pngFileName)
pngFileName - public void informAlgorithmEnds(VehicleRoutingProblem problem, Collection<VehicleRoutingProblemSolution> solutions)
informAlgorithmEnds in interface AlgorithmEndsListenerpublic void informIterationEnds(int i,
VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions)
informIterationEnds in interface IterationEndsListenerpublic void informAlgorithmStarts(VehicleRoutingProblem problem, VehicleRoutingAlgorithm algorithm, Collection<VehicleRoutingProblemSolution> solutions)
informAlgorithmStarts in interface AlgorithmStartsListenerCopyright © 2013–2020. All rights reserved.