Genetički algoritam za samoparkirajući automobil - how-to i simulacija u pregledaču

Genetički algoritam za samoparkirajući automobil – how-to i simulacija u pregledaču

https://trekhleb.dev/blog/2021/self-parking-car-ev... link-img
avatar

Iz članka:

Genetic algorithms (GA) are inspired by the process of natural selection, and are commonly used to generate high-quality solutions to optimization problems by relying on biologically inspired operators such as crossover, mutation and selection.

The problem of finding the "good enough" combination of genes for the car looks like an optimization problem, so there is a good chance that GA will help us here.

Step-by-step we're going to break down a high-level task of creating the self-parking car to the straightforward low-level optimization problem of finding the optimal combination of 180 bits (finding the optimal car genome).

You may launch the 🚕 Self-parking Car Evolution Simulator to see the evolution process directly in your browser. The simulator gives you the following opportunities:

The genetic algorithm for this project is implemented in TypeScript. The full genetic source code will be shown in this article, but you may also find the final code examples in the Evolution Simulator repository.

 

ULOGUJ SE I DODAJ KOMENTAR


Registruj ili prijavi.

VIDI POPULARNE POSTOVE


avatar Vukašin pre 7 sati
1
avatar Nikola pre 12 sati
avatar Nikola pre 11 sati
1
avatar Nikola pre 15 sati
1
2
avatar Nikola pre 4 dana
1
1
avatar Jovana pre 17 sati
avatar Nikola pre 17 sati
1
1
avatar Nikola pre 15 dana
1
avatar Nikola pre 4 dana
1
avatar Aleksandar pre 4 dana