| Modifier and Type | Method and Description |
|---|---|
VehicleRoutingProblemSolution |
InsertionInitialSolutionFactory.createSolution(VehicleRoutingProblem vrp) |
VehicleRoutingProblemSolution |
SearchStrategy.DiscoveredSolution.getSolution() |
VehicleRoutingProblemSolution |
SearchStrategyModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) |
| Modifier and Type | Method and Description |
|---|---|
Collection<VehicleRoutingProblemSolution> |
VehicleRoutingAlgorithm.searchSolutions()
Runs the vehicle routing algorithm and returns a number of generated solutions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
VehicleRoutingAlgorithm.addInitialSolution(VehicleRoutingProblemSolution solution)
Adds solution to the collection of initial solutions.
|
VehicleRoutingProblemSolution |
SearchStrategyModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) |
| Modifier and Type | Method and Description |
|---|---|
SearchStrategy.DiscoveredSolution |
SearchStrategy.run(VehicleRoutingProblem vrp,
Collection<VehicleRoutingProblemSolution> solutions)
Runs the search-strategy and its according modules, and returns DiscoveredSolution.
|
| Constructor and Description |
|---|
DiscoveredSolution(VehicleRoutingProblemSolution solution,
boolean accepted,
String strategyId) |
| Constructor and Description |
|---|
VehicleRoutingAlgorithm(VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> initialSolutions,
SearchStrategyManager searchStrategyManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SolutionAcceptor.acceptSolution(Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
Accepts solution or not, and returns true if a new solution has been accepted.
|
boolean |
SchrimpfAcceptance.acceptSolution(Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution) |
boolean |
GreedyAcceptance.acceptSolution(Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
Accepts every solution if solution memory allows.
|
boolean |
ExperimentalSchrimpfAcceptance.acceptSolution(Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution) |
boolean |
AcceptNewRemoveFirst.acceptSolution(Collection<VehicleRoutingProblemSolution> solutions,
VehicleRoutingProblemSolution newSolution)
Accepts every solution if solution memory allows.
|
| Modifier and Type | Method and Description |
|---|---|
VehicleRoutingProblemSolution |
RuinAndRecreateModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) |
| Modifier and Type | Method and Description |
|---|---|
VehicleRoutingProblemSolution |
RuinAndRecreateModule.runAndGetSolution(VehicleRoutingProblemSolution vrpSolution) |
| Modifier and Type | Method and Description |
|---|---|
void |
RuinClusters.informIterationStarts(int i,
VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions) |
| Modifier and Type | Method and Description |
|---|---|
VehicleRoutingProblemSolution |
SolutionSelector.selectSolution(Collection<VehicleRoutingProblemSolution> solutions) |
VehicleRoutingProblemSolution |
SelectRandomly.selectSolution(Collection<VehicleRoutingProblemSolution> solutions) |
VehicleRoutingProblemSolution |
SelectBest.selectSolution(Collection<VehicleRoutingProblemSolution> solutions) |
| Modifier and Type | Method and Description |
|---|---|
VehicleRoutingProblemSolution |
SolutionSelector.selectSolution(Collection<VehicleRoutingProblemSolution> solutions) |
VehicleRoutingProblemSolution |
SelectRandomly.selectSolution(Collection<VehicleRoutingProblemSolution> solutions) |
VehicleRoutingProblemSolution |
SelectBest.selectSolution(Collection<VehicleRoutingProblemSolution> solutions) |
| Modifier and Type | Method and Description |
|---|---|
void |
StateManager.informIterationStarts(int i,
VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions) |
| Modifier and Type | Method and Description |
|---|---|
void |
VariationCoefficientTermination.informAlgorithmStarts(VehicleRoutingProblem problem,
VehicleRoutingAlgorithm algorithm,
Collection<VehicleRoutingProblemSolution> solutions) |
void |
TimeTermination.informAlgorithmStarts(VehicleRoutingProblem problem,
VehicleRoutingAlgorithm algorithm,
Collection<VehicleRoutingProblemSolution> solutions) |
void |
VariationCoefficientTermination.informIterationEnds(int i,
VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions) |
void |
VariationCoefficientTermination.informIterationStarts(int i,
VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions) |
| Modifier and Type | Method and Description |
|---|---|
void |
SolutionAnalyser.informSolutionChanged(VehicleRoutingProblemSolution newSolution)
Sets the specified solution and calculates all necessary indicators again.
|
| Constructor and Description |
|---|
SolutionAnalyser(VehicleRoutingProblem vrp,
VehicleRoutingProblemSolution solution,
SolutionCostCalculator solutionCostCalculator,
TransportDistance distanceCalculator) |
SolutionAnalyser(VehicleRoutingProblem vrp,
VehicleRoutingProblemSolution solution,
TransportDistance distanceCalculator) |
| Modifier and Type | Method and Description |
|---|---|
static VehicleRoutingProblemSolution |
VehicleRoutingProblemSolution.copyOf(VehicleRoutingProblemSolution solution2copy)
Makes a deep copy of the solution to be copied.
|
VehicleRoutingProblemSolution |
InitialSolutionFactory.createSolution(VehicleRoutingProblem vrp)
Creates an initial solution for the specified
VehicleRoutingProblem. |
| Modifier and Type | Method and Description |
|---|---|
static VehicleRoutingProblemSolution |
VehicleRoutingProblemSolution.copyOf(VehicleRoutingProblemSolution solution2copy)
Makes a deep copy of the solution to be copied.
|
double |
SolutionCostCalculator.getCosts(VehicleRoutingProblemSolution solution)
Returns costs of solution.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SolutionPrinter.print(PrintWriter out,
VehicleRoutingProblemSolution solution)
Prints costs and #vehicles to the given writer
|
static void |
SolutionPrinter.print(PrintWriter out,
VehicleRoutingProblem problem,
VehicleRoutingProblemSolution solution,
SolutionPrinter.Print print)
Prints costs and #vehicles to the given writer
|
static void |
SolutionPrinter.print(VehicleRoutingProblemSolution solution)
Prints costs and #vehicles to stdout (out.println).
|
static void |
SolutionPrinter.print(VehicleRoutingProblem problem,
VehicleRoutingProblemSolution solution,
SolutionPrinter.Print print)
Prints costs and #vehicles to the to stdout (out.println).
|
| Modifier and Type | Method and Description |
|---|---|
static VehicleRoutingProblemSolution |
Solutions.bestOf(Collection<VehicleRoutingProblemSolution> solutions) |
| Modifier and Type | Method and Description |
|---|---|
static VehicleRoutingProblemSolution |
Solutions.bestOf(Collection<VehicleRoutingProblemSolution> solutions) |
void |
SolutionVerifier.informAlgorithmEnds(VehicleRoutingProblem problem,
Collection<VehicleRoutingProblemSolution> solutions) |
Copyright © 2013–2016. All rights reserved.