An open API service indexing awesome lists of open source software.

https://github.com/zaxovaiko/genetic-algorithm

👾 Printed circuit board connection problem solved with genetic algorithm
https://github.com/zaxovaiko/genetic-algorithm

ai genetic-algorithm printed-circuit-boards problem-solving python

Last synced: 7 months ago
JSON representation

👾 Printed circuit board connection problem solved with genetic algorithm

Awesome Lists containing this project

README

          

# Genetic Algorithm

Algorithm for print circuit layout optimization.

## How it works

To represent an entire map we use the Individual class. To represent a path on map use Path class and Segment for one part of a path.

A single segment contains direction and distance (eg. `'U', 1` - move up with distance 1).

![Schemat](https://imgur.com/43k1Eyc.png)

## Examples

Bad trained example `zad1.txt`

![Ads](https://imgur.com/mXVwX5u.png)