- 23 Sep, 2019 4 commits
-
-
Ahmad Reza authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
- 18 Sep, 2019 10 commits
-
-
Ahmad Reza authored
methods of particle.py
-
Ahmad Reza authored
-
Ahmad Reza authored
-
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!
-
Ahmad Reza authored
Conflicts: lib/particle.py solution/random_walk.py
-
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!
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
- 16 Sep, 2019 1 commit
-
-
Ahmad Reza authored
In scenario std_lib the method add_tiles_as_hexagon got a new attribute color for setting the color of the tiles.
-
- 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.
-
- 21 Aug, 2019 1 commit
-
-
Ahmad Reza authored
The random seed is moved from world.py to swarm-sim.py, because the simulator is responsible for the randomness.
-
- 20 Aug, 2019 4 commits
-
-
Ahmad Reza authored
-
Ahmad Reza authored
memory_limitation
-
Ahmad Reza authored
-
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.
-
- 14 Aug, 2019 3 commits
-
-
Ahmad Reza authored
-
Ahmad Reza authored
Conflicts: system.log
-
Ahmad Reza authored
the speed of the simulator can be changed with the variable rounds_per_second.
-
- 13 Aug, 2019 2 commits
-
-
Ahmad Reza Cheraghi authored
-
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.
-
- 12 Aug, 2019 1 commit
-
-
Ahmad Reza authored
-
- 23 Jul, 2019 2 commits
-
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
- 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 10 commits
-
-
Ahmad Reza authored
-
Ahmad Reza authored
And fixed a small bug in particle.py
-
Ahmad Reza authored
And caps the Marker in sim.py
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-
Ahmad Reza Cheraghi authored
-