Skip to content

Commit 86408ae

Browse files
authored
Add genetic algorithm canvas (TheAlgorithms#491)
1 parent 394ed7d commit 86408ae

File tree

4 files changed

+465
-0
lines changed

4 files changed

+465
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ authors = ["Anshul Malik <[email protected]>"]
88
lazy_static = "1.4.0"
99
num-bigint = { version = "0.4", optional = true }
1010
num-traits = { version = "0.2", optional = true }
11+
rand = "0.8"
1112

1213
[dev-dependencies]
1314
quickcheck = "1.0"

DIRECTORY.md

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
* General
7070
* [Convex Hull](https://github.com/TheAlgorithms/Rust/blob/master/src/general/convex_hull.rs)
7171
* [Fisher Yates Shuffle](https://github.com/TheAlgorithms/Rust/blob/master/src/general/fisher_yates_shuffle.rs)
72+
* [Genetic Algorithm](https://github.com/TheAlgorithms/Rust/blob/master/src/general/genetic.rs)
7273
* [Hanoi](https://github.com/TheAlgorithms/Rust/blob/master/src/general/hanoi.rs)
7374
* [Huffman Encoding](https://github.com/TheAlgorithms/Rust/blob/master/src/general/huffman_encoding.rs)
7475
* [Kmeans](https://github.com/TheAlgorithms/Rust/blob/master/src/general/kmeans.rs)

0 commit comments

Comments
 (0)