Examples of VehicleRoutingProblem


Examples of jsprit.core.problem.VehicleRoutingProblem

 
  @Test
  public void whenReadingJobs_pickupIdShipment3IsReadCorrectly(){
    VehicleRoutingProblem.Builder builder = VehicleRoutingProblem.Builder.newInstance();
    new VrpXMLReader(builder, null).read(inFileName);
    VehicleRoutingProblem vrp = builder.build();
    Shipment s = (Shipment) vrp.getJobs().get("3");
    assertEquals("i(3,9)",s.getPickupLocationId());
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.