Skip to content

Implementation of the Ant Colony Optimization algorithm

License

Notifications You must be signed in to change notification settings

yinhangfeng/AntColonyTSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

int pointCount = 50;
List<Point> points = new ArrayList<>(pointCount);
for (int i = 0; i < pointCount; ++i) {
    points.add(new Point(Math.random() * 100, Math.random() * 100));
}

AntColonyTSP antColonyTSP = AntColonyTSP.obtain(pointCount);
Response response = antColonyTSP.run(points);
antColonyTSP.recycle();

System.out.println("response: " + response);

Running Test

gradle run

Download

TODO

About

Implementation of the Ant Colony Optimization algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages