Class PDPTWSolution
java.lang.Object
org.ddolib.examples.layered.pdptw.PDPTWSolution
Pretty-printer wrapper for PDPTW solutions.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPDPTWSolution(PDPTWProblem problem, Solution solution, double value) Wraps a raw solverSolutiontogether with the problem it was found for, to enable pretty-printing. -
Method Summary
-
Field Details
-
solution
public int[] solutionThe sequence of visited nodes composing the solution. -
value
public double valueThe value (cost) associated to this solution.
-
-
Constructor Details
-
PDPTWSolution
Wraps a raw solverSolutiontogether with the problem it was found for, to enable pretty-printing.- Parameters:
problem- the PDPTW problem the solution was found forsolution- the raw solution returned by the solvervalue- the value (cost) associated to this solution
-
-
Method Details