# genev

> Genetic Evolution Algorithm framework

Latest version **0.1.8** (published 2016-02-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install genev
pnpm add genev
yarn add genev
bun add genev
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2016-02-04 |
| First published | 2016-02-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Yehya |
| Maintainers | yehyaawad |
| Keywords | genetic, algorithm, framework, evolution, genev |

## Links

- npm: https://www.npmjs.com/package/genev
- Repository: https://github.com/awadYehya/Genev.js
- Homepage: https://github.com/awadYehya/Genev.js#readme
- Issues: https://github.com/awadYehya/Genev.js/issues
- npm.io page: https://npm.io/package/genev

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@atlaskit/theme](https://npm.io/package/@atlaskit/theme.md) — 402.0K weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads

## Recent versions

- 0.1.8 (latest) — 2016-02-04
- 0.1.7 — 2016-02-04
- 0.1.6 — 2016-02-03
- 0.1.5 — 2016-02-02
- 0.1.4 — 2016-02-02
- 0.1.3 — 2016-02-02
- 0.1.2 — 2016-02-02
- 0.1.1 — 2016-02-02
- 0.1.0 — 2016-02-02

## README

[![npm version](https://badge.fury.io/js/genev.svg)](https://badge.fury.io/js/genev)

# Genev.js
Genetic Evolution Algorithm framework

##What is Genev?
Genev is a framework that lets you easily use the genetic algorithm search heuristic to find solutions to optimization or search problems.

Todo:
* Add method chaining
* Add tests
* Add Travis
* npm-ify
  
##In a nutshell
```javascript
// Create a chromosome
var chromosome = {
  gene1: null,
  gene2: null 
};

// Create a fitness function
var ff = function (genes) {
  var gene, score = 0;
  for (gene in genes) { score += gene; } // score will be a sum of the genes
  return score;
}

// Use Genev
var genev = GF(chromosome); // set it up with our chromosmoe
genev.initPopulation(); // initialize it
genev.evolve(ff); // let it rip!
```

---
_Source: https://npm.io/package/genev · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
