Examples of AlgorithmEndsListener


Examples of jsprit.core.algorithm.listener.AlgorithmEndsListener

    //threading
    final ExecutorService executorService;
    if(nuOfThreads > 0){
      log.info("setup executor-service with " + nuOfThreads + " threads");
      executorService = Executors.newFixedThreadPool(nuOfThreads);
      algorithmListeners.add(new PrioritizedVRAListener(Priority.LOW, new AlgorithmEndsListener() {

        @Override
        public void informAlgorithmEnds(VehicleRoutingProblem problem,Collection<VehicleRoutingProblemSolution> solutions) {
          log.info("shutdown executor-service");
          executorService.shutdown();
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.