Examples of RuinListeners


Examples of jsprit.core.algorithm.ruin.listener.RuinListeners

   */
  public RuinRandom(VehicleRoutingProblem vrp, double fraction) {
    super();
    this.vrp = vrp;
    this.fractionOfAllNodes2beRuined = fraction;
    ruinListeners = new RuinListeners();
    logger.info("initialise " + this);
    logger.info("done");
  }
View Full Code Here

Examples of jsprit.core.algorithm.ruin.listener.RuinListeners

   */
  public RuinRadial(VehicleRoutingProblem vrp, double fraction2beRemoved, JobDistance jobDistance) {
    super();
    this.vrp = vrp;
    this.fractionOfAllNodes2beRuined = fraction2beRemoved;
    ruinListeners = new RuinListeners();
    int nJobsToMemorize = (int) Math.ceil(vrp.getJobs().values().size()*fraction2beRemoved);
    JobNeighborhoodsImplWithCapRestriction jobNeighborhoodsImpl = new JobNeighborhoodsImplWithCapRestriction(vrp, jobDistance, nJobsToMemorize);
    jobNeighborhoodsImpl.initialise();
    jobNeighborhoods = jobNeighborhoodsImpl;
    logger.info("intialise " + this);
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.