Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/freetonik/gen_acbsp
Genetic algorithm for solving the Auto-Correlation Binary Sequence Problem.
https://github.com/freetonik/gen_acbsp
Last synced: about 2 months ago
JSON representation
Genetic algorithm for solving the Auto-Correlation Binary Sequence Problem.
- Host: GitHub
- URL: https://github.com/freetonik/gen_acbsp
- Owner: freetonik
- Created: 2015-01-17T12:22:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-17T12:25:41.000Z (about 10 years ago)
- Last Synced: 2024-04-14T16:01:36.165Z (9 months ago)
- Language: C
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gen_acbsp
Genetic algorithm for solving the Auto-Correlation Binary Sequence Problem.The Low-Autocorrelation Binary Sequence (LABS) problem arises in statistical mechanics (related to what physicists call the ISING problem), and in radar and communications engineering. In this assignment you will create a GA for this problem, the goal of which is to find a sequence of +1’s and -1’s of fixed length that has the minimum possible measure H. H is calculated as follows:
![Formulae](formulae.png)
Where:
- S is the binary sequence
- N is the length of the S
- si is either +1 or -1
- Subscripts are all taken modulo N.The algorithm uses tournament selection of the size specifiable by user. User also can choose the termination criteria: either by number of generations or by evaluation limit. The algorithm has three built-in crossover mechanisms and ability to add more. Three crossover types are: one-point crossover, template-based crossover and two point crossover with two children generated and only the fittest is taken to the next population.