وصف
This is an app to demonstrate how a genetic algorithm works.
It basically consists of a bunch of rockets that have to reach a goal, avoiding obstacles drawn by the user.
They have to learn the path to follow to win, by trying random directions at the beginning, and then selecting the ones that best fit the solution. They also have to adapt
to the changing environment, just like living beings do during the centuries.
Modifying the parameters (the population size, mutation ratio, velocity and lifetime) you can see how they affects the evolution.
How does it work:
Each rocket has a DNA that sets its trajectory (affecting his velocity at every single frame). At the begin this is randomly generated.
At each following generation, the DNA of the rockets is built from two 'parents' from the previous generation; the chances of a rocket being parent for the next generation
is proportional to various factors: victory, chance of overtaking an obstacle, death, distance to target, etc...
Controls:
- Modes switch: the bottom left button let you switch between the obstacles drawing modes. Pencil mode: draw the obstacles on the screen to see the rockets adapting to the
various environmental situations; you can draw multiple obstacles; pencil size can be modified in the settings by clicking the button on top of the screen. Eraser mode:
Touch one of the obstacles to delete that one, press and hold on a blank spot to erase them all.
- Pause: the bottom right button, you can pause the simulation to draw obstacles more easily or to visualize history/charts without real time updates.
- Fast forward: this button speeds up the simulation speed; note that it is possible that the rockets trajectory can be slightly different between the two modes,
especially with many rockets
- History: the button on top of the screen, it opens the history where you can see the data of all the generations since the beginning of the simulation. You can reach the
charts from here
- Touch and drag the target to move it round the screen.
- Back menu: press the back button on your device to open the back menu, where you can change the parameters of the simulation (clicking on apply) or load/save
states
Saving files:
The latest version uses binary files instead of plain text, that allows to reduce up to ten times the memory used and the read/write time; you will still be able to load
files (not export) from old versions.
Exported files are saved in default directory SmartRockets in the root of the internal storage. We tried several file managers and you should be able to load a .srk file
just clicking on it (even from Google Drive, WhatsApp or Telegram, etc...) or selecting our app in the list displayed. The only one that gave us some problems is "My
Files" from Samsung, which some times didn't open the files without even showing the option "open with"; in that case you can upload to Google Drive or open it through
another file manager.
It basically consists of a bunch of rockets that have to reach a goal, avoiding obstacles drawn by the user.
They have to learn the path to follow to win, by trying random directions at the beginning, and then selecting the ones that best fit the solution. They also have to adapt
to the changing environment, just like living beings do during the centuries.
Modifying the parameters (the population size, mutation ratio, velocity and lifetime) you can see how they affects the evolution.
How does it work:
Each rocket has a DNA that sets its trajectory (affecting his velocity at every single frame). At the begin this is randomly generated.
At each following generation, the DNA of the rockets is built from two 'parents' from the previous generation; the chances of a rocket being parent for the next generation
is proportional to various factors: victory, chance of overtaking an obstacle, death, distance to target, etc...
Controls:
- Modes switch: the bottom left button let you switch between the obstacles drawing modes. Pencil mode: draw the obstacles on the screen to see the rockets adapting to the
various environmental situations; you can draw multiple obstacles; pencil size can be modified in the settings by clicking the button on top of the screen. Eraser mode:
Touch one of the obstacles to delete that one, press and hold on a blank spot to erase them all.
- Pause: the bottom right button, you can pause the simulation to draw obstacles more easily or to visualize history/charts without real time updates.
- Fast forward: this button speeds up the simulation speed; note that it is possible that the rockets trajectory can be slightly different between the two modes,
especially with many rockets
- History: the button on top of the screen, it opens the history where you can see the data of all the generations since the beginning of the simulation. You can reach the
charts from here
- Touch and drag the target to move it round the screen.
- Back menu: press the back button on your device to open the back menu, where you can change the parameters of the simulation (clicking on apply) or load/save
states
Saving files:
The latest version uses binary files instead of plain text, that allows to reduce up to ten times the memory used and the read/write time; you will still be able to load
files (not export) from old versions.
Exported files are saved in default directory SmartRockets in the root of the internal storage. We tried several file managers and you should be able to load a .srk file
just clicking on it (even from Google Drive, WhatsApp or Telegram, etc...) or selecting our app in the list displayed. The only one that gave us some problems is "My
Files" from Samsung, which some times didn't open the files without even showing the option "open with"; in that case you can upload to Google Drive or open it through
another file manager.
إصدارات قديمة
- 05/29/2018: Smart Rockets (Genetic Alg.) 4.2.1
- 05/27/2018: Smart Rockets (Genetic Alg.) 4.2
- Report a new version
Free Download
تحميل بواسطة رمز الاستجابة السريعة
- اسم التطبيق: Smart Rockets (Genetic Alg.)
- لينة الفئة: تعليم
- كود التطبيق: edo.genetics
- أحدث إصدار: 4.2.1
- الشرط المطلوب: 5.0 أو أعلى
- حجم الملف : 3.83 MB
- تحديث الوقت: 2018-05-29