Package com.chkris.service

Examples of com.chkris.service.AntDecisionAlgorithm


        if (null != this.graph && this.count < antAlgorithmSettings.getMaximalNumberOfIterations()) {
            this.count++;

            Graph g = this.graph;
            AntDecisionAlgorithm antDecisionAlgorithm = new AntDecisionAlgorithm(antAlgorithmSettings);
            antDecisionAlgorithm.sentAllAnts(g);

            for (Edge edge : g.getEdges()) {
                this.tmpGraph.getEdges().get(edge.getId()).setPheromone(tmpGraph.getEdges().get(edge.getId()).getPheromone() + edge.getPheromone());
            }
View Full Code Here

TOP

Related Classes of com.chkris.service.AntDecisionAlgorithm

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.