Class PDPTWSolution

java.lang.Object
org.ddolib.examples.layered.pdptw.PDPTWSolution

public class PDPTWSolution extends Object
Pretty-printer wrapper for PDPTW solutions.
  • Field Details

    • solution

      public int[] solution
      The sequence of visited nodes composing the solution.
    • value

      public double value
      The value (cost) associated to this solution.
  • Constructor Details

    • PDPTWSolution

      public PDPTWSolution(PDPTWProblem problem, Solution solution, double value)
      Wraps a raw solver Solution together with the problem it was found for, to enable pretty-printing.
      Parameters:
      problem - the PDPTW problem the solution was found for
      solution - the raw solution returned by the solver
      value - the value (cost) associated to this solution
  • Method Details