IMdpTermination¶
interface · namespace Hazel
Engine-side termination condition. Evaluates whether the episode should end based on MuJoCo/agent state.
Properties¶
Descriptor¶
Capability descriptor for the manifest.
IsTimeout¶
Whether this is a timeout (truncation) vs. a hard termination. Truncation: episode ended due to time limit (not a failure). Termination: episode ended due to constraint violation (failure).
Name¶
Unique identifier used in contracts and manifests.
Methods¶
Evaluate(MdpContext, Dictionary)¶
Evaluate whether the termination condition is met. Hot path — must not allocate.
Source: Hazel/Learn/MdpComponent.cs