/** * Create a new instance using the specified time unit and seed. * @param arrSolver The {@link MultiVehicleArraysSolver} that is used for * solving. * @param timeUnit The time unit to use for the underlying * {@link RandomMVArraysSolver}. */ public DebugSolverCreator(MultiVehicleArraysSolver arrSolver, Unit<Duration> timeUnit) { arraysSolver = ArraysSolverDebugger.wrap( ArraysSolverValidator.wrap(arrSolver), false); solver = SolverDebugger.wrap(SolverValidator .wrap(new MultiVehicleSolverAdapter(arraysSolver, timeUnit)), false); }