mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-20 03:08:08 +02:00
updated factory concept
This commit is contained in:
@ -61,10 +61,3 @@ class BaseFactory(object):
|
||||
|
||||
def step_core(self, collisions_vec, actions, r):
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
factory = BaseFactory(n_agents=1)
|
||||
print(factory.state)
|
||||
state, r, done, _ = factory.step(0)
|
||||
print(state)
|
Reference in New Issue
Block a user