added plotting probability maps

This commit is contained in:
Chanumask
2024-05-08 14:27:08 +02:00
parent 39b123221b
commit 0e09094f97
4 changed files with 124 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ from marl_factory_grid.algorithms.static.TSP_item_agent import TSPItemAgent
from marl_factory_grid.algorithms.static.TSP_target_agent import TSPTargetAgent
from marl_factory_grid.environment.factory import Factory
from marl_factory_grid.utils.plotting.plot_single_runs import plot_routes
from marl_factory_grid.utils.plotting.plot_single_runs import plot_routes, plot_action_maps
if __name__ == '__main__':
@@ -41,4 +41,4 @@ if __name__ == '__main__':
print(f'Episode {episode} done...')
break
plot_routes(factory, agents)
plot_action_maps(factory, agents)