MCPcopy Create free account

hub / github.com/PufferAI/pokegym / functions

Functions225 in github.com/PufferAI/pokegym

↓ 440 callersFunctionread_bit
(game, addr, bit)
pokegym/ram_map_leanke.py:951
↓ 18 callersFunctionread_bit
(game, addr, bit)
pokegym/ram_map.py:1739
↓ 10 callersFunctionrun_action_on_emulator
Sends actions to PyBoy
pokegym/pyboy_binding.py:71
↓ 6 callersFunctionopen_state_file
Load state file with BytesIO so we can cache it
pokegym/pyboy_binding.py:59
↓ 5 callersFunctionload_pyboy_state
Reset state stream and load it into PyBoy
pokegym/pyboy_binding.py:66
↓ 5 callersFunctionmake_env
(gb_path, headless=True, quiet=False, **kwargs)
pokegym/pyboy_binding.py:42
↓ 4 callersFunctionbit_count
(bits)
pokegym/ram_map.py:1736
↓ 4 callersMethodrender
(self)
pokegym/environment.py:207
↓ 4 callersMethodrender
(self)
pokegym/A_TESTING_FILE.py:227
↓ 4 callersMethodrender
(self)
pokegym/backups/environment_backup_bill.py:188
↓ 4 callersMethodrender
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:199
↓ 4 callersMethodrender
(self)
pokegym/backups/environment_backup_main.py:172
↓ 3 callersFunctionbcd
(num)
pokegym/ram_map.py:1733
↓ 3 callersMethodstep
(self, action)
pokegym/environment.py:359
↓ 2 callersMethodclose
(self)
pokegym/environment.py:367
↓ 2 callersMethodget_last_pokecenter_id
(self)
pokegym/A_TESTING_FILE.py:460
↓ 2 callersFunctionget_random_state
()
pokegym/environment.py:36
↓ 2 callersMethodget_visited_pokecenter_reward
(self)
pokegym/A_TESTING_FILE.py:484
↓ 2 callersMethodinit_hidden_obj_mem
(self)
pokegym/environment.py:370
↓ 2 callersMethodinit_hidden_obj_mem
(self)
pokegym/A_TESTING_FILE.py:179
↓ 2 callersMethodinit_hidden_obj_mem
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:151
↓ 2 callersFunctionperformance_test
(game_cls, steps=10000)
test.py:16
↓ 2 callersFunctionread_uint16
Read 2 bytes
pokegym/ram_map.py:1747
↓ 2 callersFunctionread_uint16
Read 2 bytes
pokegym/ram_map_leanke.py:959
↓ 2 callersMethodreset
Resets the game. Seeding is NOT supported
pokegym/environment.py:180
↓ 2 callersMethodrewardable_coords
(self, glob_c, glob_r)
pokegym/backups/environment_backup_bill.py:276
↓ 2 callersMethodsave_screenshot
(self, event, map_n)
pokegym/backups/environment_backup_bill.py:133
↓ 2 callersMethodsave_screenshot
(self, event, map_n)
pokegym/backups/environment_backup_main.py:117
↓ 2 callersMethodsave_state
(self)
pokegym/A_TESTING_FILE.py:191
↓ 2 callersMethodset_bit
(value, bit)
pokegym/A_TESTING_FILE.py:489
↓ 1 callersMethod__init__
( self, rom_path="pokemon_red.gb", state_path=None, headless=True, sav
pokegym/environment.py:87
↓ 1 callersMethod__init__
( self, rom_path="pokemon_red.gb", state_path=None, headless=True, sav
pokegym/A_TESTING_FILE.py:103
↓ 1 callersMethod__init__
Creates a PokemonRed environment
pokegym/backups/environment_backup_bill.py:84
↓ 1 callersMethod__init__
Creates a PokemonRed environment
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:109
↓ 1 callersMethod__init__
Creates a PokemonRed environment
pokegym/backups/environment_backup_main.py:81
↓ 1 callersMethodadd_video_frame
(self)
pokegym/environment.py:518
↓ 1 callersMethodadd_video_frame
(self)
pokegym/A_TESTING_FILE.py:383
↓ 1 callersMethodadd_video_frame
(self)
pokegym/backups/environment_backup_bill.py:248
↓ 1 callersMethodadd_video_frame
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:331
↓ 1 callersFunctionbit_count
(bits)
pokegym/ram_map_leanke.py:948
↓ 1 callersMethodcalculate_distance
Calculate the Manhattan distance from player to a tree.
pokegym/environment.py:311
↓ 1 callersMethodcheck_if_cancel_bag_menu
(self, action)
pokegym/environment.py:586
↓ 1 callersMethodcheck_if_in_bag_menu
(self)
pokegym/environment.py:578
↓ 1 callersMethodcheck_if_in_pokemon_menu
(self)
pokegym/environment.py:532
↓ 1 callersMethodcheck_if_in_start_menu
(self)
pokegym/environment.py:524
↓ 1 callersMethodcheck_if_in_stats_menu
(self)
pokegym/environment.py:540
↓ 1 callersMethodclose
(self)
pokegym/A_TESTING_FILE.py:255
↓ 1 callersMethodclose
(self)
pokegym/backups/environment_backup_bill.py:215
↓ 1 callersMethodclose
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:227
↓ 1 callersMethodcompute_tree_reward
(self, player_pos, trees_positions, map_n, N=3, p=2, q=1)
pokegym/environment.py:228
↓ 1 callersMethodfind_neighboring_npc
(self, npc_id, player_direction, player_x, player_y)
pokegym/A_TESTING_FILE.py:419
↓ 1 callersMethodfind_neighboring_npc
(self, npc_bank, npc_id, player_direction, player_x, player_y)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:367
↓ 1 callersMethodget_base_event_flags
(self)
pokegym/A_TESTING_FILE.py:504
↓ 1 callersMethodget_fixed_window
(self, arr, y, x, window_size)
pokegym/environment.py:184
↓ 1 callersMethodget_fixed_window
(self, arr, y, x, window_size)
pokegym/A_TESTING_FILE.py:204
↓ 1 callersMethodget_fixed_window
(self, arr, y, x, window_size)
pokegym/backups/environment_backup_bill.py:166
↓ 1 callersMethodget_fixed_window
(self, arr, y, x, window_size)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:176
↓ 1 callersMethodget_fixed_window
(self, arr, y, x, window_size)
pokegym/backups/environment_backup_main.py:150
↓ 1 callersMethodget_game_coords
(self)
pokegym/environment.py:521
↓ 1 callersMethodget_hm_rewards
(self)
pokegym/A_TESTING_FILE.py:374
↓ 1 callersMethodget_hm_rewards
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:322
↓ 1 callersFunctionget_items_in_bag
(game, one_indexed=0)
pokegym/ram_map.py:2194
↓ 1 callersFunctionget_items_in_bag
(game, one_indexed=0)
pokegym/ram_map_leanke.py:979
↓ 1 callersMethodget_items_in_bag
(self, one_indexed=0)
pokegym/environment.py:479
↓ 1 callersMethodget_items_in_bag
(self, one_indexed=0)
pokegym/A_TESTING_FILE.py:328
↓ 1 callersMethodget_items_in_bag
(self, one_indexed=0)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:294
↓ 1 callersFunctionget_random_state
()
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:100
↓ 1 callersMethodload_first_state
(self)
pokegym/environment.py:173
↓ 1 callersMethodload_last_state
(self)
pokegym/A_TESTING_FILE.py:197
↓ 1 callersMethodload_last_state
(self)
pokegym/backups/environment_backup_bill.py:157
↓ 1 callersMethodload_last_state
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:169
↓ 1 callersMethodload_last_state
(self)
pokegym/backups/environment_backup_main.py:141
↓ 1 callersMethodpoke_count_hms
(self)
pokegym/A_TESTING_FILE.py:340
↓ 1 callersMethodreset
Resets the game. Seeding is NOT supported
pokegym/A_TESTING_FILE.py:652
↓ 1 callersMethodreset
Resets the game. Seeding is NOT supported
pokegym/backups/environment_backup_bill.py:356
↓ 1 callersMethodreset
Resets the game. Seeding is NOT supported
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:463
↓ 1 callersMethodreset
Resets the game. Seeding is NOT supported
pokegym/backups/environment_backup_main.py:326
↓ 1 callersMethodrewardable_coords
(self, glob_c, glob_r)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:382
↓ 1 callersMethodrewardable_coords
(self, glob_c, glob_r)
pokegym/backups/environment_backup_main.py:249
↓ 1 callersMethodsave_state
(self)
pokegym/backups/environment_backup_bill.py:145
↓ 1 callersMethodsave_state
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:163
↓ 1 callersMethodsave_state
(self)
pokegym/backups/environment_backup_main.py:129
↓ 1 callersMethodstep
(self, action, fast_video=True)
pokegym/A_TESTING_FILE.py:829
↓ 1 callersMethodstep
(self, action, fast_video=True)
pokegym/backups/environment_backup_bill.py:393
↓ 1 callersMethodstep
(self, action, fast_video=True)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:503
↓ 1 callersMethodstep
(self, action, fast_video=True)
pokegym/backups/environment_backup_main.py:355
↓ 1 callersMethodtrees_features
(self, player_pos, trees_positions, N=3)
pokegym/environment.py:325
↓ 1 callersMethodupdate_heat_map
Updates the heat map based on the agent's current position. Args: r (int): global y coordinate of the agent's position.
pokegym/environment.py:545
↓ 1 callersMethodupdate_heat_map
Updates the heat map based on the agent's current position. Args: r (int): global y coordinate of the agent's position.
pokegym/A_TESTING_FILE.py:386
↓ 1 callersMethodupdate_heat_map
Updates the heat map based on the agent's current position. Args: r (int): global y coordinate of the agent's position.
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:334
↓ 1 callersMethodupdate_moves_obtained
(self)
pokegym/environment.py:458
↓ 1 callersMethodupdate_moves_obtained
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:274
↓ 1 callersMethodupdate_pokedex
(self)
pokegym/environment.py:450
↓ 1 callersMethodupdate_pokedex
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:266
↓ 1 callersMethodupdate_reward
Update and determine if the new_position should be rewarded based on every 10 steps taken in any direction considering the Manhattan
pokegym/A_TESTING_FILE.py:624
↓ 1 callersMethodvideo
(self)
pokegym/environment.py:363
↓ 1 callersMethodvideo
(self)
pokegym/A_TESTING_FILE.py:251
↓ 1 callersMethodvideo
(self)
pokegym/backups/environment_backup_bill.py:207
↓ 1 callersMethodvideo
(self)
pokegym/backups/working_good_BET_alpha_branch_Bulba.py:223
↓ 1 callersMethodwrite_to_log
(self)
pokegym/A_TESTING_FILE.py:358
next →1–100 of 225, ranked by callers