Package rinde.sim.pdptw.central.arrays

Examples of rinde.sim.pdptw.central.arrays.MultiVehicleSolverAdapter


  public DebugSolverCreator(MultiVehicleArraysSolver arrSolver,
      Unit<Duration> timeUnit) {
    arraysSolver = ArraysSolverDebugger.wrap(
        ArraysSolverValidator.wrap(arrSolver), false);
    solver = SolverDebugger.wrap(SolverValidator
        .wrap(new MultiVehicleSolverAdapter(arraysSolver, timeUnit)), false);
  }
View Full Code Here


    final StateContext sc = handle.convert(SolveArgs.create()
        .useParcels(ImmutableSet.<DefaultParcel> of())
        .noCurrentRoutes());
    assertEquals(1, sc.state.availableParcels.size());
    assertEquals(0, sc.state.vehicles.get(0).contents.size());
    final Solver solver = SolverValidator.wrap(new MultiVehicleSolverAdapter(
        new RandomMVArraysSolver(new MersenneTwister(123)), NonSI.MINUTE));
    Solvers.solverBuilder(solver).with(mp).with(simAPI).build().solve(sc);

    // give enough time to reach destination
    rm.moveTo(v1, destination, TimeLapseFactory.create(0, 1000000000));
View Full Code Here

        new File("files/test/gendreau06/req_rapide_1_240_24"));

    final SupplierRng<Solver> s = new SupplierRng<Solver>() {
      @Override
      public Solver get(long seed) {
        return SolverValidator.wrap(new MultiVehicleSolverAdapter(
            ArraysSolverValidator.wrap(new RandomMVArraysSolver(
                new MersenneTwister(seed))), scenario.getTimeUnit()));
      }
    };
    final Experiment.Builder builder = Experiment
View Full Code Here

TOP

Related Classes of rinde.sim.pdptw.central.arrays.MultiVehicleSolverAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.