Welcome to Anti-Poaching Environment (APE)’s documentation!

Fig. 1 Instance of APE with 2 Rangers (blue) vs 4 Poachers (red)
APE is a PettingZoo environment that implements the Anti-Poaching Game. This is a multi-agent, zero-sum, cooperative-competitive game played between a team of Rangers and some independent Poachers on a grid.
We first quickly introduce Anti-Poaching Environment (APE) and how to use it with the given examples. A more detailed explanation of the examples, notably the integration with RLlib is given in Examples. implementation lists the entire API for APE and the RLlib integration.
- Anti-Poaching Environment (APE)
- Examples
- The APE API
- anti_poaching.env package
- Subpackages
- anti_poaching.env.utils package
- Submodules
- anti_poaching.env.utils.game_utils module
BaseGridState
BaseGridState.NULL_POS
BaseGridState.RENDER_MODES
BaseGridState.REWARD_MAP
BaseGridState.add_trap()
BaseGridState.get_neighbours()
BaseGridState.permitted_movements()
BaseGridState.prob_animal_appear()
BaseGridState.prob_detect_cell()
BaseGridState.prob_detect_trap()
BaseGridState.remove_poacher()
BaseGridState.remove_trap()
BaseGridState.render()
BaseGridState.reset()
BaseGridState.update_position()
BaseGridState.valid_pos()
GridStateConstProb
GridStateVaryingPCA
Trap
- anti_poaching.env.utils.typing module
- anti_poaching.env.utils.wrappers module
- Module contents
- anti_poaching.env.utils package
- Submodules
- anti_poaching.env.anti_poaching module
- Module contents
- Subpackages
- anti_poaching.env.utils package
- Submodules
- anti_poaching.env.utils.game_utils module
BaseGridState
BaseGridState.NULL_POS
BaseGridState.RENDER_MODES
BaseGridState.REWARD_MAP
BaseGridState.add_trap()
BaseGridState.get_neighbours()
BaseGridState.permitted_movements()
BaseGridState.prob_animal_appear()
BaseGridState.prob_detect_cell()
BaseGridState.prob_detect_trap()
BaseGridState.remove_poacher()
BaseGridState.remove_trap()
BaseGridState.render()
BaseGridState.reset()
BaseGridState.update_position()
BaseGridState.valid_pos()
GridStateConstProb
GridStateVaryingPCA
Trap
- anti_poaching.env.utils.typing module
- anti_poaching.env.utils.wrappers module
- Module contents
- anti_poaching.env package
- Integration with RLlib
- rllib package
- Submodules
- rllib.callbacks module
- rllib.configs module
- rllib.example_utils module
- rllib.from_checkpoint module
- rllib.heuristic_policies module
ActionMaskedGreedyPoacherPolicy
ActionMaskedRandomPolicy
ActionMaskedStaticPoacherPolicy
ActionMaskedStaticPoacherPolicy.compute_actions()
ActionMaskedStaticPoacherPolicy.compute_single_action()
ActionMaskedStaticPoacherPolicy.get_initial_state()
ActionMaskedStaticPoacherPolicy.get_weights()
ActionMaskedStaticPoacherPolicy.is_recurrent()
ActionMaskedStaticPoacherPolicy.learn_on_batch()
ActionMaskedStaticPoacherPolicy.set_weights()
QMIXActionMaskedRandomPolicy
QMIXBaseHeuristicPolicy
QMIXGreedyStaticPolicy
- rllib.main module
- rllib.recurrent module
- rllib.tune_antipoaching module
- Module contents
- rllib package
- CHANGELOG