1 Actions are choices available in a given state and are defined as a function that returns all possible actions for a state.
“Actions are just choices that we can make in any given state. And we can more precisely define actions as a function. We're going to effectively define a function called actions that takes an input, s, where s is going to be some state that exists inside of our environment. And actions of s is going to take the state as input and return as output the set of all actions that can be executed in that state.”