https://github.com/fang2hou/easyga
A simple genetic algorithm golang package.
https://github.com/fang2hou/easyga
Last synced: about 1 month ago
JSON representation
A simple genetic algorithm golang package.
- Host: GitHub
- URL: https://github.com/fang2hou/easyga
- Owner: fang2hou
- License: mit
- Created: 2018-10-24T16:46:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-13T09:29:48.000Z (over 6 years ago)
- Last Synced: 2025-03-19T20:42:14.077Z (about 1 month ago)
- Language: Go
- Size: 3.25 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# EasyGA
 EasyGA is a go-lang package that would help you create your own genetic algorithm to solve NP-hard problems.
For now, EasyGA support customization for selection, crossover, mutation and fitness function.This project is created by team 3 of Ritsumeikan Univ Topic In IT III course.
# Installation
## Use as Module (Go 1.11+)
Initialize the project with vgo.
```shell
go mod init
```
Add `import` in you code.
```go
import github.com/fang2hou/easyga
```
Build once, go-tools will download easyga automatically.
```shell
go build
```## Classic
Same as other go package, just run the code below with terminal program or command prompt.
```shell
go get -u github.com/fang2hou/easyga
```
Go-tools will help you to install EasyGA to your `$GOPATH` in seconds.# Usage
Here is no documentation currently.You can check files in `_examples` folder, it's an easy-to-use package.
# Author
[Zhou Fang](https://github.com/fang2hou)
[Junjie Xu](https://github.com/junj2ejj)Feel free to pull request if you want.
# License
[MIT](LICENSE)
A part of the structure is inspired by [GAHelloWorld](https://github.com/jsvazic/GAHelloWorld)