- 18 Sep, 2019 1 commit
-
-
Ahmad Reza authored
The direction enum/list has been renamed to direction_list. All the contents of str_lib of solution and scenario and the header in lib are moved to one file called swarm_sim_header.py Some bugs has been fixed!
-
- 02 Sep, 2019 1 commit
-
-
Ahmad Reza authored
!!!Almost all the the Swarm-Sim core libaries written at the HHU has no code smells!!!!! :)))) Only vis.py has code smells and this is not written by HHU. And multiple.py as well and some solutions. But in total all the core libaries/interfaces of the Swarm-Sim has no code smells. Yeapy!!!! Changes: The scanning for matters method has been modified and refactored. The header became a new function called scanning. The stl_lib for the scenarios became to methods. One for creating particles in hexagon. The other one for creating a hexagon border with tiles.
-
- 20 Aug, 2019 1 commit
-
-
Ahmad Reza authored
- For the reading the data of the config the classe ConfigData is created in a seperated file called config.py - For the visualization a bug is fixed. The bug was that whenever the vis.py goes into a sleep it is not possible to zoom or to create tiles. !This bus has been fixed by Karol Actun! - Three methods sim_to_coords, coords_to_sim, check_coords are moved from the world.py to the header.py. Because those methods are independent from the world.py. Based on these change some changes have to been made on the other files. - The particle counter has been removed from particle.py. The counting of the particle and given the particle a number based on the counting is happening now in world.py. - Some unnecessary variables have been deleted from the matters.
-
- 13 Aug, 2019 1 commit
-
-
Ahmad Reza authored
sim.py renamed to world.py run.py renamed to swarm-sim.py swarm-sim.py got a new structure for initializing the swarm-sim and calling the solution. The solution calling is independent from vis.py vis.py: The run method is renamed to draw_world. Solution is not called anymore inside of this method. A new variable called refresh_time is added. The draw window is getting refreshed after each solution has been called and refresh_time is over. header.py: in the lib a header.py is inserted. In this file all the standards color and direcotries are defined. As well some standard methods for checking or changing the directions.
-
- 17 Jul, 2019 1 commit
-
-
Ahmad Reza authored
The bug was in vis.py that each time particle got updadted the alpha got change to 1
-
- 16 Jul, 2019 3 commits
-
-
Ahmad Reza authored
And fixed a small bug in particle.py
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
- 17 Jun, 2019 2 commits
-
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
- 04 Jun, 2019 1 commit
-
-
Ahmad Reza authored
-
- 17 May, 2019 1 commit
-
-
Ahmad Reza Cheraghi authored
-
- 06 May, 2019 1 commit
-
-
Ahmad Reza Cheraghi authored
-
- 24 Apr, 2019 4 commits
-
-
Ahmad Reza authored
-
abdelgalil authored
fixed bug in particle.py where particles would stop moving and then disappear and reappear in a distant location
-
Ahmad Reza authored
-
Ahmad Reza Cheraghi authored
-
- 12 Apr, 2019 2 commits
-
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza authored
-
- 11 Apr, 2019 1 commit
-
-
Ahmad Reza authored
-
- 18 Mar, 2019 1 commit
-
-
Ahmad Reza Cheraghi authored
-
- 07 Mar, 2019 2 commits
-
-
Ahmad Reza authored
Create_scenario changed to only scenario
-
Ahmad Reza Cheraghi authored
-
- 06 Mar, 2019 1 commit
-
-
Ahmad Reza authored
Bugfix run.py and config.py
-
- 01 Mar, 2019 1 commit
-
-
Ahmad Reza authored
-