Table of Contents

Interface IMergable<T>

Namespace
Gym.Merging
Assembly
Gym.dll

An IMergable with a typed merge entry point, which the legacy Dict implements for dictionaries, lists and other mergeables.

[Obsolete("The legacy Dict's deep merge: use Gym.Envs.Info.Update (Python's dict.update: the new value wins, one level deep). Removed in 2.0 with Gym.Legacy.")]
public interface IMergable<in T> : IMergable

Type Parameters

T

The type of value the merge takes.

Inherited Members
Extension Methods

Remarks

Obsolete with Dict (DR-56) and removed in 2.0.

Methods

Merge(T, MergePrefer)

Performs a merge with object of T type.

void Merge(T right, MergePrefer preference)

Parameters

right T

object to take data from

preference MergePrefer

see the documentation on the enum values.