Package rinde.sim.pdptw.common

Examples of rinde.sim.pdptw.common.DefaultVehicle


    final DefaultParcel a = new DefaultParcel(ParcelDTO.builder(
        new Point(0, 0), new Point(1, 1)).build());
    final DefaultParcel b = new DefaultParcel(ParcelDTO.builder(
        new Point(0, 1), new Point(1, 1)).build());

    final DefaultVehicle vehicle = new TestVehicle(new Point(1, 1));
    final GlobalStateObject gso = mock(GlobalStateObject.class);

    final StateContext sc = new StateContext(gso,
        ImmutableMap.of(vehicle.getDTO(), vehicle),
        ImmutableMap.of(a.dto, a));

    boolean fail = false;
    try {
      convertRoutes(sc, ImmutableList.of(ImmutableList.of(a.dto, b.dto)));
View Full Code Here

TOP

Related Classes of rinde.sim.pdptw.common.DefaultVehicle

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.