(self, env)
Randomize various physical properties of the environment.

    It randomizes the physical parameters according to the input configuration.

    Args:
      env: A minitaur gym environment.
Randomize various physical properties of the environment.
Randomize various physical properties of the environment .
def randomize_env(self, env):
    """Randomize various physical properties of the environment.

    It randomizes the physical parameters according to the input configuration.

    Args:
      env: A minitaur gym environment.
    """
    self._randomization_function_dict = self._build_randomization_function_dict(
        env)
    for param_name, random_range in six.iteritems(
        self._randomization_param_dict):
      self._randomization_function_dict[param_name](
          lower_bound=random_range[0], upper_bound=random_range[1])
def randomize_env ( self , env ) : self . _randomization_function_dict = self . _build_randomization_function_dict ( env ) for param_name , random_range in six . iteritems ( self . _randomization_param_dict ) : self . _randomization_function_dict [ param_name ] ( lower_bound = random_range [ 0 ] , upper_bound = random_range [ 1 ] )