Shortcuts

openrl.envs.mpe.scenario 源代码

# defines scenario upon which the world is built
[文档]class BaseScenario(object): # create elements of the world
[文档] def make_world(self): raise NotImplementedError()
# create initial conditions of the world
[文档] def reset_world(self, world): raise NotImplementedError()
[文档] def info(self, agent, world): return {}