Table of Contents

Class ExpectedSARSAOptions<T>

Namespace
AiDotNet.Models.Options
Assembly
AiDotNet.dll

Configuration options for Expected SARSA agents.

public class ExpectedSARSAOptions<T> : ReinforcementLearningOptions<T>

Type Parameters

T

The 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

stateSize int

The size of the state space.

actionSize int

The size of the action space.

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

int

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

int

Exceptions

ArgumentOutOfRangeException

Thrown when the value is less than or equal to zero.