AForge.MachineLearning.Sarsa.GetAction C# (CSharp) Method

GetAction() public method

Get next action from the specified state.
The method returns an action according to current exploration policy.
public GetAction ( int state ) : int
state int Current state to get an action for.
return int
        public int GetAction( int state )
        {
            return explorationPolicy.ChooseAction( qvalues[state] );
        }