Table of Contents

Interface IWrapper

Namespace
Gym.Envs
Assembly
Gym.dll

A wrapper of any observation and action types, Python's isinstance(env, gymnasium.Wrapper): lets code walk a stack of wrappers (Env down to Unwrapped) without knowing each layer's types.

public interface IWrapper : IEnv, IDisposable
Inherited Members
Extension Methods

Properties

Env

The env this wrapper wraps (env), possibly another wrapper.

IEnv Env { get; }

Property Value

IEnv

Methods

ClassName()

The wrapper's class name (class_name()), as its WrapperSpec records it.

string ClassName()

Returns

string

The name, without generic arity: TimeLimit.