Timi-G / CAModel_AAN

Cellular Automata Modelling for Autonomous Aircraft Navigation
0 stars 1 forks source link

Long runtime when video visualization is enabled #2

Open Timi-G opened 1 week ago

Timi-G commented 1 week ago

Simulation runtime is very long when video visualization is enabled.

Video visualization is currently achieved by:

Problem Identified

The I/O operation of accessing folders and accompanying processes seems to slow the whole program.

Timi-G commented 1 week ago

Temporary Solution

Video visualization has been removed (commented out) in a no video visualization branch, increasing code runtime

Proposed Solution

Save Matplotlib figure in a pickle instead, which is done as bytes and hence will reduce runtime

Visualization file in existing branches can be found here: