Ubuntu 16.04 LTS or later
$ sudo apt update
$ sudo apt install default-jre default-jdk build-essential git curl python3
$ xcode-select --install
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
$ brew update
$ brew cask install java
$ brew install git python3
$ git clone --depth 1 https://github.com/kosakkun/mm-tester.git
$ cd mm-tester
$ chmod +x gradlew
$ ./gradlew build
.
├── README.md
├── build.gradle
├── build
│ └── libs
│ └── Tester.jar
├── tester
│ └── *.java
└── sample
├── cpp
│ ├── run.sh
│ ├── run.py
│ └── main.cpp
├── java
│ ├── run.sh
│ ├── run.py
│ └── Main.java
└── python
├── run.sh
├── run.py
└── main.py
Traveling Salesmanのjavaのサンプルプログラムを実行する場合.
$ cd problems/TravelingSalesman/sample/java
$ chmod +x run.sh
$ ./run.sh
または,
$ cd problems/TravelingSalesman/sample/java
$ python3 run.py
- Traveling Salesman
- Vehicle Routing
- Rectangle Packing
- Graph Coloring
- Clustering
- Sliding Puzzle
- Rectilinear Steiner Tree
- Disk Covering
- Longest Path
- Euclidean Steiner Tree
- Hiroimono
- Edge Matching
- Political Districting
こことかに貼り付けて読んでください.
- MIT License
- mm-tester
- This software includes the work that is distributed in the Apache License 2.0.