splendor.agents.our_agents package
Subpackages
- splendor.agents.our_agents.genetic_algorithm package
- Submodules
- splendor.agents.our_agents.genetic_algorithm.argument_parsing module
- splendor.agents.our_agents.genetic_algorithm.constants module
- splendor.agents.our_agents.genetic_algorithm.evolve module
- splendor.agents.our_agents.genetic_algorithm.genes module
- splendor.agents.our_agents.genetic_algorithm.genetic_algorithm_agent module
- Module contents
- splendor.agents.our_agents.ppo package
- Subpackages
- Submodules
- splendor.agents.our_agents.ppo.arguments_parsing module
- splendor.agents.our_agents.ppo.common module
- splendor.agents.our_agents.ppo.constants module
- splendor.agents.our_agents.ppo.input_norm module
- splendor.agents.our_agents.ppo.network module
- splendor.agents.our_agents.ppo.ppo module
- splendor.agents.our_agents.ppo.ppo_agent module
- splendor.agents.our_agents.ppo.ppo_agent_base module
- splendor.agents.our_agents.ppo.ppo_base module
- splendor.agents.our_agents.ppo.rollout module
RolloutBuffer
RolloutBuffer.action_dim
RolloutBuffer.action_mask_history
RolloutBuffer.actions
RolloutBuffer.calculate_gae()
RolloutBuffer.cell_states
RolloutBuffer.clear()
RolloutBuffer.device
RolloutBuffer.dones
RolloutBuffer.full
RolloutBuffer.hidden_states
RolloutBuffer.hidden_states_shape
RolloutBuffer.index
RolloutBuffer.input_dim
RolloutBuffer.is_recurrent
RolloutBuffer.log_prob_actions
RolloutBuffer.remember()
RolloutBuffer.rewards
RolloutBuffer.size
RolloutBuffer.states
RolloutBuffer.unpack()
RolloutBuffer.values
- splendor.agents.our_agents.ppo.training module
- splendor.agents.our_agents.ppo.utils module
- Module contents
Submodules
splendor.agents.our_agents.minmax module
Implementation of an agent that selects the first legal action.
- class splendor.agents.our_agents.minmax.MiniMaxAgent(_id)[source]
Bases:
Agent
A Minimax agent, utilizing the zero-sum property of the game, there is only a single winner in each game, for determining which action to play.
- SelectAction(actions: list[CollectAction | ReserveAction | BuyAction], game_state: SplendorState, game_rule: SplendorGameRule) CollectAction | ReserveAction | BuyAction [source]
- splendor.agents.our_agents.minmax.myAgent
alias of
MiniMaxAgent