(self, world, target, render)
Helper method for handling setup of the Box2D world.
Helper method for handling setup of the Box2D world.
Helper method for handling setup of the Box2D world .
def _setup_world(self, world, target, render):
        """
        Helper method for handling setup of the Box2D world.
        """
        self.x0 = self._hyperparams["x0"]
        self._worlds = [world(self.x0[i], target, render)
                        for i in range(self._hyperparams['conditions'])]
def _setup_world ( self , world , target , render ) : self . x0 = self . _hyperparams [ "x0" ] self . _worlds = [ world ( self . x0 [ i ] , target , render ) for i in range ( self . _hyperparams [ 'conditions' ] ) ]