Skip to content

StrandedSoftwareDeveloper/zigGenAlg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zigGenAlg

A simple generic genetic algorithm library for zig

Uses zig 0.12.0 (see this commit for a zig 0.11.0 version)

To run example:

git clone https://github.com/StrandedSoftwareDeveloper/zigGenAlg.git
cd zigGenAlg
zig build example

To use with the zig package manager:

  • Run the following:
zig fetch --save https://github.com/StrandedSoftwareDeveloper/zigGenAlg/archive/<latest commit hash>.tar.gz
  • Add this to your build.zig:
const gen_alg_mod = b.dependency("genAlg", .{ .target = target, .optimize = optimize }).module("genAlg");
exe.root_module.addImport("genAlg", gen_alg_mod);
  • And import it with this:
const genAlg = @import("genAlg");

About

A simple generic genetic algorithm library for zig

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages