Package jsprit.core.util

Examples of jsprit.core.util.BenchmarkInstance


    for(int i=0;i<11;i++){
      VehicleRoutingProblem.Builder builder = VehicleRoutingProblem.Builder.newInstance();
      String file = inputFolder + "/R2"+ getInstanceNu(i+1) + ".txt";
      new SolomonReader(builder,1000).read(file);
      VehicleRoutingProblem p = builder.build();
      instances.add(new BenchmarkInstance("R2" + getInstanceNu(i+1), p, bestKnown.get(i).doubleValue(), bestKnowVehicles.get(i).doubleValue()));
    }
    return instances;
  }
View Full Code Here


    for(int i=0;i<8;i++){
      VehicleRoutingProblem.Builder builder = VehicleRoutingProblem.Builder.newInstance();
      String file = inputFolder + "/RC1"+ getInstanceNu(i+1) + ".txt";
      new SolomonReader(builder,1000).read(file);
      VehicleRoutingProblem p = builder.build();
      instances.add(new BenchmarkInstance("RC1" + getInstanceNu(i+1), p, bestKnown.get(i).doubleValue(), bestKnowVehicles.get(i).doubleValue()));
    }
    return instances;
  }
View Full Code Here

    for(int i=0;i<8;i++){
      VehicleRoutingProblem.Builder builder = VehicleRoutingProblem.Builder.newInstance();
      String file = inputFolder + "/RC2"+ getInstanceNu(i+1) + ".txt";
      new SolomonReader(builder,1000).read(file);
      VehicleRoutingProblem p = builder.build();
      instances.add(new BenchmarkInstance("RC2" + getInstanceNu(i+1), p, bestKnown.get(i).doubleValue(), bestKnowVehicles.get(i).doubleValue()));
    }
    return instances;
  }
View Full Code Here

TOP

Related Classes of jsprit.core.util.BenchmarkInstance

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.