Class StickyActionOptions
The keyword arguments of StickyAction<TObs, TAct>'s constructor as a typed record (DR-34), generated
from the constructor so it cannot drift from it. A property that is set becomes a keyword argument by its Python
name; one left unset is not passed, so make keeps the registered spec's value and the constructor its default.
public sealed record StickyActionOptions : IGymOptions, IEquatable<StickyActionOptions>
- Inheritance
-
StickyActionOptions
- Implements
- Inherited Members
- Extension Methods
Properties
RepeatActionDuration
The length of a run: an integer (null is Gymnasium's default, 1), or a tuple (low, high) to draw each run's length from.
The repeat_action_duration keyword argument, passed on only once set.
public object? RepeatActionDuration { get; init; }
Property Value
RepeatActionProbability
The probability that a run of repeats starts at a step; in [0, 1).
The repeat_action_probability keyword argument, passed on only once set.
public double RepeatActionProbability { get; init; }
Property Value
Methods
ToKwargs()
The set properties as keyword arguments by Python name, in constructor order.
public Info ToKwargs()
Returns
- Info
A new dict the caller owns.