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


99
7
avatar Nevenka pre 9 dana
10
2
avatar Ivan pre 27 dana
1
avatar Ivana pre 93 dana
1
avatar Marko pre 104 dana
4
avatar Daniela pre 149 dana
6
12
avatar Nikola pre 150 dana
13
4
avatar Vukašin pre 165 dana
6
avatar Vukašin pre 185 dana
2
avatar Vukašin pre 203 dana
21
avatar Vukašin pre 203 dana