mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-18 18:52:52 +02:00
Redone the spawn procedute and destination objects
This commit is contained in:
@ -21,7 +21,7 @@ class TSPBaseAgent(ABC):
|
||||
self.local_optimization = True
|
||||
self._env = state
|
||||
self.state = self._env.state[c.AGENT][agent_i]
|
||||
self._floortile_graph = points_to_graph(self._env[c.FLOOR].positions)
|
||||
self._floortile_graph = points_to_graph(self._env[c.FLOORS].positions)
|
||||
self._static_route = None
|
||||
|
||||
@abstractmethod
|
||||
|
Reference in New Issue
Block a user