Click or drag to resize
Accord.NET (logo)

SarsaGetAction Method

Get next action from the specified state.

Namespace:  Accord.MachineLearning
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public int GetAction(
	int state
)
Request Example View Source

Parameters

state
Type: SystemInt32
Current state to get an action for.

Return Value

Type: Int32
Returns the action for the state.
Remarks
The method returns an action according to current exploration policy.
See Also