eighthill / Slime_Mold_Simulation

A student project simulating smile mold🧫
MIT License
6 stars 0 forks source link

exclusion of methods for next move and compiling with numba #29

Closed Isabelle-Gbl closed 8 months ago

Isabelle-Gbl commented 9 months ago

To improve the runtime of the code we should try to pass the coordinates of the agents into an array so that we can exclude the methods to update the next step of the agents from the class agent. That way we could compile it with numba.

Isabelle-Gbl commented 9 months ago

I have uploaded the code as far as I have come. I have tried to extract all of the updating for the pheromones and agent moves out of the classes that part is not done yet also it is important that the code right now can only used within the simulation code and not within the GUI yet.

next steps would be:

Isabelle-Gbl commented 8 months ago

branches #29 and Version2.0_rotate_towards_sensor will not be used because most of the calculations are incorrect there will be another version that is also connected to Version2.0 Issue.

Isabelle-Gbl commented 8 months ago

The first step is almost don, all the Method are outside of classes now and also most importet functions from already compiled libararys are in extra functions too, so that there should be no problems when trying to implement Numba

Branch Version2.0 is up to date here