Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nwtgck/ant-colony-optimization-scala
Ant Colony Optimization in Scala
https://github.com/nwtgck/ant-colony-optimization-scala
aco ant-colony-optimization scala
Last synced: 14 days ago
JSON representation
Ant Colony Optimization in Scala
- Host: GitHub
- URL: https://github.com/nwtgck/ant-colony-optimization-scala
- Owner: nwtgck
- Created: 2017-11-20T15:16:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T13:26:53.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T15:08:59.239Z (28 days ago)
- Topics: aco, ant-colony-optimization, scala
- Language: Scala
- Homepage:
- Size: 204 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ant Colony Optimization in Scala [![Build Status](https://travis-ci.org/nwtgck/ant-colony-optimization-scala.svg?branch=master)](https://travis-ci.org/nwtgck/ant-colony-optimization-scala)
![Demo gif](/demos/seed-3.gif)
## How to run Main
```
cd
sbt "runMain Main"
```
### OptionsYou can specify some options bellow
```bash
sbt "runMain Main --help"
``````
Usage: TSP solver by Ant Colony Optimization [options] []--help prints this usage text
-i, --n-iters The number of iteration
-a, --n-ants The number of ants
--alpha alpha
--beta beta
--q Q
--ro ro
--outpath output directory path
--seed random seed
--realtime-figure Render realtime figure
```### An example
```bash
sbt "runMain Main --n-ants=10 --seed=12 --n-iters=5 ./tsp/wi29.tsp"
```## How to run LegacyMain
```
cd
sbt "runMain LegacyMain"
```## Reference
* https://qiita.com/EnsekiTT/items/9b13ceba391221687f42