Skip to content

IRandomizationHandler

interface · namespace Hazel

Domain randomization handler. Applies randomization to MuJoCo model parameters during reset.

public interface IRandomizationHandler

Properties

Descriptor

RandomizationDescriptor Descriptor { get; }

Capability descriptor for the manifest.

Name

string Name { get; }

Unique identifier used in contracts and manifests.

Methods

Apply(MujocoSceneComponent, float, float, System.Random)

void Apply(MujocoSceneComponent mujocoScene, float rangeMin, float rangeMax, System.Random rng)

Apply randomization within the given range using the provided RNG. Called during agent reset.


Source: Hazel/Learn/MdpComponent.cs