evomo.problems.neuroevolution.morobtrol.mo_hopper#

Classes#

MoHopper

The multi-objective version of hopper env (2 objectives).

Module Contents#

class evomo.problems.neuroevolution.morobtrol.mo_hopper.MoHopper(**kwargs)#

Bases: brax.envs.hopper.Hopper

The multi-objective version of hopper env (2 objectives).

References:

[1] C. D. Freeman, E. Frey, A. Raichuk, S. Girgin, I. Mordatch, and O. Bachem, “Brax - a differentiable physics engine for large scale rigid body simulation,” 2021. [Online]. Available: http://github.com/google/brax

Initialize the multi-objective hopper env.

Parameters:

num_obj – The number of the objectives. For this env, it is set to 2.

num_obj = 2#
reset(rng)#
step(state, action)#

Run one timestep of the environment’s dynamics.

Parameters:

height – The height at which the hopper robot is located.

For more information, please refer to hopper env in brax.