Coverage for o2/agents/simulated_annealing_agent_random.py: 100%
8 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-05-16 11:18 +0000
« prev ^ index » next coverage.py v7.6.12, created at 2025-05-16 11:18 +0000
1from o2.agents.agent import ACTION_CATALOG_RANDOM
2from o2.agents.simulated_annealing_agent import SimulatedAnnealingAgent
3from o2.store import Store
6class SimulatedAnnealingAgentRandom(SimulatedAnnealingAgent):
7 """SimulatedAnnealingAgentRandom is a SimulatedAnnealingAgent that selects actions randomly."""
9 def __init__(self, store: Store) -> None:
10 super().__init__(store)
12 store.settings.disable_action_validity_check = True
13 self.catalog = ACTION_CATALOG_RANDOM