Загрузка...

Simplest: Genetic algorithm - Rockets

This is a simulation, where given a target, a rocket will try to reach the target using genetic algorithm.
The rocket will have a DNA, which will have genes that will determine the movement of the rocket.(i.e. force in x and y direction during each frame)
The rocket will have a fitness score, which will be calculated based on the distance from the target.
error will be calculated based on the distance from the target, and if the result is satifactory, the simulation will stop.
You can expect a trajectory i.e. Force that the thrusters need to apply to reach the target in each frame.
Source code: https://github.com/CrypticMessenger/cool-algorithms/tree/main/Genetic%20Algorithm%3A%20rockets

Видео Simplest: Genetic algorithm - Rockets канала Azimuth
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять