https://github.com/rybla/generic-ga
A generic genetic algorithm implementation. Using Crystal.
https://github.com/rybla/generic-ga
Last synced: 8 months ago
JSON representation
A generic genetic algorithm implementation. Using Crystal.
- Host: GitHub
- URL: https://github.com/rybla/generic-ga
- Owner: rybla
- License: mit
- Created: 2018-03-13T04:15:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T03:41:25.000Z (over 8 years ago)
- Last Synced: 2024-12-28T03:20:36.479Z (over 1 year ago)
- Language: Crystal
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Generic GA
A generic genetic algorithm implementation. Using Crystal.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
generic_ga:
github: riib11/generic-ga
```
## Usage
```crystal
require "generic_ga"
world = GenericGA::World.new 10 # make a world with 100 agents
world.simulate 100 # simulate 100 selections, with console feedback
```
## Development
TODO
## Contributing
1. Fork it ( https://github.com/riib11/generic-ga/fork )
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create a new Pull Request
## Contributors
- [[riib11]](https://github.com/riib11) Henry - creator, maintainer