In general, an action-value function describes how advantageous it is to take action at state .