mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-12-11 01:50:38 +01:00
Merge remote-tracking branch 'origin/marl_refactor' into marl_refactor
# Conflicts: # marl_factory_grid/algorithms/static/TSP_base_agent.py # marl_factory_grid/utils/plotting/plot_single_runs.py # marl_factory_grid/utils/renderer.py # test_run.py
This commit is contained in:
@@ -31,7 +31,6 @@ if __name__ == '__main__':
|
||||
action_spaces = factory.action_space
|
||||
# agents = [TSPDirtAgent(factory, 0), TSPItemAgent(factory, 1), TSPTargetAgent(factory, 2)]
|
||||
agents = [TSPTargetAgent(factory, 0), TSPTargetAgent(factory, 1)]
|
||||
# agents = [TSPTargetAgent(factory, 0)]
|
||||
while not done:
|
||||
a = [x.predict() for x in agents]
|
||||
obs_type, _, _, done, info = factory.step(a)
|
||||
|
||||
Reference in New Issue
Block a user