Package jsprit.core.algorithm.ruin.distance

Examples of jsprit.core.algorithm.ruin.distance.JobDistance


      ModKey ruinKey = makeKey(ruin_name,ruin_id);
      if(ruin_name.equals("randomRuin")){
        ruin = getRandomRuin(vrp, routeStates, definedClasses, ruinKey, shareToRuin);
      }
      else if(ruin_name.equals("radialRuin")){
        JobDistance jobDistance = new AvgServiceAndShipmentDistance(vrp.getTransportCosts());
        ruin = getRadialRuin(vrp, routeStates, definedClasses, ruinKey, shareToRuin, jobDistance);
      }
      else throw new IllegalStateException("ruin[@name] " + ruin_name + " is not known. Use either randomRuin or radialRuin.");
     
      String insertionName = moduleConfig.getString("insertion[@name]");
View Full Code Here

TOP

Related Classes of jsprit.core.algorithm.ruin.distance.JobDistance

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.