Class ExpectedSARSAOptions<T>
Configuration options for Expected SARSA agents.
public class ExpectedSARSAOptions<T> : ReinforcementLearningOptions<T>
Type Parameters
TThe numeric type used for calculations.
- Inheritance
-
ExpectedSARSAOptions<T>
- Inherited Members
Constructors
ExpectedSARSAOptions(int, int)
Initializes a new instance of the ExpectedSARSAOptions class with validated state and action sizes.
public ExpectedSARSAOptions(int stateSize, int actionSize)
Parameters
Exceptions
- ArgumentOutOfRangeException
Thrown when stateSize or actionSize is less than or equal to zero.
Properties
ActionSize
Gets or initializes the size of the action space.
public int ActionSize { get; init; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Thrown when the value is less than or equal to zero.
StateSize
Gets or initializes the size of the state space.
public int StateSize { get; init; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Thrown when the value is less than or equal to zero.