(time_limit=_DEFAULT_TIME_LIMIT, random=None, num_poles=3,
                sparse=False, environment_kwargs=None)
return control.Environment(
      physics, task, time_limit=time_limit, **environment_kwargs)
Returns the Cartpole Balance task with three or more poles.
Returns the Cartpole Balance task with three or more poles.
Returns the Cartpole Balance task with three or more poles .
def three_poles(time_limit=_DEFAULT_TIME_LIMIT, random=None, num_poles=3,
                sparse=False, environment_kwargs=None):
  """Returns the Cartpole Balance task with three or more poles."""
  physics = Physics.from_xml_string(*get_model_and_assets(num_poles=num_poles))
  task = Balance(swing_up=True, sparse=sparse, random=random)
  environment_kwargs = environment_kwargs or {}
  return control.Environment(
      physics, task, time_limit=time_limit, **environment_kwargs)
def three_poles ( time_limit = _DEFAULT_TIME_LIMIT , random = None , num_poles = 3 , sparse = False , environment_kwargs = None ) : physics = Physics . from_xml_string ( * get_model_and_assets ( num_poles = num_poles ) ) task = Balance ( swing_up = True , sparse = sparse , random = random ) environment_kwargs = environment_kwargs or { } return control . Environment ( physics , task , time_limit = time_limit , * * environment_kwargs )