Closed Phutoast closed 5 years ago
Currently, most, if not all, the environment are independent. It might be useful to include the base environment, which will define the interface of all environments. This can be useful. For example
class DifferentialGame: def __init__(self, game_name, agent_num, action_range=(-10, 10)): self.game = game_name self.agent_num = agent_num self.action_range = action_range .... ....
Can inherit BaseGame , which is an environment interface
BaseGame
Added in commit 88d1934
Currently, most, if not all, the environment are independent. It might be useful to include the base environment, which will define the interface of all environments. This can be useful. For example
Can inherit
BaseGame
, which is an environment interface