Skip to content

ParamDescriptor

struct · namespace Hazel

Interfaces for engine-side MDP (Markov Decision Process) components. These interfaces define the contract for observation, reward, termination, randomization, and auxiliary data providers that can be registered in the MdpComponentRegistry and discovered by external training frameworks via the GetCapabilityManifest RPC. Design follows TimeManager's pattern: lightweight structs for data, interfaces for behavior, no allocations on the hot path.

public struct ParamDescriptor

Constructors

ParamDescriptor(string, string, string, float, float, bool)

public ParamDescriptor(string type, string defaultValue, string description, float rangeMin = 0f, float rangeMax = 0f, bool hasRange = false)

Fields

Field Description
public string DefaultValue
public string Description
public bool HasRange
public float RangeMax
public float RangeMin
public string Type

Source: Hazel/Learn/MdpComponent.cs