/EasyGA

A simple genetic algorithm golang package.

Primary LanguageGoMIT LicenseMIT

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.

go mod init

Add import in you code.

import github.com/fang2hou/easyga

Build once, go-tools will download easyga automatically.

go build

Classic

Same as other go package, just run the code below with terminal program or command prompt.

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
Junjie Xu

Feel free to pull request if you want.

License

MIT
A part of the structure is inspired by GAHelloWorld