(
self,
seed: int,
device: str,
render: bool = True,
n_cores: int = 1,
if_vision: bool = False
)
| 10 | class BaseSim(abc.ABC): |
| 11 | |
| 12 | def __init__( |
| 13 | self, |
| 14 | seed: int, |
| 15 | device: str, |
| 16 | render: bool = True, |
| 17 | n_cores: int = 1, |
| 18 | if_vision: bool = False |
| 19 | ): |
| 20 | self.seed = seed |
| 21 | self.device = device |
| 22 | self.render = render |
| 23 | self.n_cores = n_cores |
| 24 | |
| 25 | self.if_vision = if_vision |
| 26 | |
| 27 | self.working_dir = os.getcwd() |
| 28 | self.env_name = 'BaseEnvironment' |
| 29 | |
| 30 | @abc.abstractmethod |
| 31 | def test_agent(self, agent: BaseAgent, cpu_set): |
nothing calls this directly
no outgoing calls
no test coverage detected