-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanual.txt
39 lines (30 loc) · 1.87 KB
/
manual.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
NAME
dna-solver | C++ implementation
SYNOPSIS
solver [OPTIONS]...
DESCRIPTION:
This program implements a C++ library for Genetic Algorithm optimization. To solve optimization problems, make a new directory and define the model for the Genes, Chromosomes and Fitness function, then configure the parameters and run the algorithm in the main.cpp file.
* To run the GA method, it only requires the fitness function to be passed to its constructor. So chromosomes are built from the fitness model.
* Genes can be adapted to any type of variable or class, and only requires a constructor and a randomize function for their initialization.
* Chromosomes are arrays of Genes, and the crossover and mutation operators cannot be modified (yet), as the base class implements these methods.
* The fitness function is responsible of creating new Chromosomes and evaluating them.
OPTIONS:
-h, --help Display this help message.
-p, --pop Population size.
-t, --timeout Timeout in seconds. Default is 60.
-g, --gens Max generations of the GA method.
-s, --stagn Stagnation window lengh (generations without improvement).
-m, --mut Mutation rate.
-c, --cross Crossover rate.
-e, --elite Elite rate.
-l, --prlevel Information print level.
-o, --output -Only for Multi-objective- output type (TEXT, CSV)
EXAMPLES:
There are examples in the "examples/" folder.
AUTHORS
Design and programming: Dr. Matias J. Micheletto <https://beacons.ai/matias.miche>.
REPORTING BUGS
Guidelines available at <https://github.com/matiasmicheletto/dna-solver>.
COPYRIGHT
Copyright © 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.