from agents.offline_agent import QLearningAgent class UpdateQTableUseCase: def execute(self, agent: QLearningAgent, state: int, action: int, value: float): agent.q_table[state, action] = value