MCPcopy Create free account

hub / github.com/Farama-Foundation/Arcade-Learning-Environment / functions

Functions2,536 in github.com/Farama-Foundation/Arcade-Learning-Environment

↓ 3 callersFunctionMD5Update
MD5 block update operation. Continues an MD5 message-digest operation, processing another message block, and updating the context.
src/ale/emucore/MD5.cxx:142
↓ 3 callersFunctionassert_gym_ale_rollout_equivalence
Test if both environments produce similar results over a short rollout.
tests/python/test_atari_vector_env.py:45
↓ 3 callersFunctionassert_rollout_equivalence
( num_envs: int = 4, seeds: np.ndarray = np.arange(4), game: str = "pong", rollout_length: int
tests/python/test_atari_vector_xla.py:11
↓ 3 callersMethodcloneSystemState
src/ale/ale_interface.cpp:386
↓ 3 callersFunctionconvertGrayscale
src/ale/common/ColourPalette.cpp:35
↓ 3 callersMethodenqueue_bulk
Enqueue multiple actions at once. Thread-safe.
src/ale/vector/action_queue.hpp:28
↓ 3 callersMethodgame_truncated
Indicateds if the episode has been truncated.
src/ale/ale_interface.cpp:247
↓ 3 callersMethodgetRAMSize
src/ale/python/ale_python_interface.hpp:84
↓ 3 callersMethodget_keys_to_action
Return keymapping -> actions for human play. Up, down, left and right are wasd keys with fire being space. No op is 'e' Retu
src/ale/python/env.py:349
↓ 3 callersMethodisSupportedROM
src/ale/ale_interface.cpp:168
↓ 3 callersMethodis_grayscale
src/ale/vector/env_vectorizer.hpp:75
↓ 3 callersMethodmeasure_system_resources
Measure current CPU and memory usage.
scripts/benchmark-vec-env.py:81
↓ 3 callersMethodobservation_shape
Get observation shape as tuple (stack_num, height, width) or (stack_num, height, width, 3)
src/ale/vector/env_vectorizer.hpp:78
↓ 3 callersMethodpoke
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/CartAR.cxx:162
↓ 3 callersMethodprocess
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundRaw.cxx:121
↓ 3 callersMethodreset
Resets the sub-environments. Args: seed: Current unimplemented options: Supports `reset_mask` that indicates what sub
src/ale/python/vector_env.py:148
↓ 3 callersMethodreset
Resets environment and returns initial episode observation.
src/ale/python/env.py:228
↓ 3 callersMethodreset
src/ale/vector/env_vectorizer.cpp:113
↓ 3 callersMethodrewards_data
src/ale/vector/types.hpp:142
↓ 3 callersFunctionrom_id_to_name
Convert a rom id in snake_case to the name in PascalCase.
src/ale/python/registration.py:9
↓ 3 callersMethodsize
src/ale/environment/ale_ram.hpp:41
↓ 3 callersMethodstage_result
Stage a result from a worker thread. In ordered mode: writes to slot[env_id] In unordered mode: atomically allocates next slot, may block if batch is
src/ale/vector/result_staging.hpp:43
↓ 3 callersMethodterminations_data
src/ale/vector/types.hpp:143
↓ 3 callersMethodtruncations_data
src/ale/vector/types.hpp:144
↓ 3 callersFunctionwritePNGChunk
MGB: These methods originally belonged to ExportScreen. Possibly these should be returned to their own class, rather than be static methods. They are
src/ale/common/ScreenExporter.cpp:34
↓ 2 callersMethodALEInterface
src/ale/ale_interface.cpp:99
↓ 2 callersFunctionEncode
Encodes input (UINT4) into output (unsigned char). Assumes len is a multiple of 4.
src/ale/emucore/MD5.cxx:289
↓ 2 callersFunctionMD5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/MD5.cxx:331
↓ 2 callersFunctionMD5Transform
MD5 basic transformation. Transforms state based on block.
src/ale/emucore/MD5.cxx:200
↓ 2 callersFunctionMD5_memcpy
Note: Replace "for loop" with standard memcpy if possible.
src/ale/emucore/MD5.cxx:313
↓ 2 callersFunctionMD5_memset
Note: Replace "for loop" with standard memset if possible.
src/ale/emucore/MD5.cxx:322
↓ 2 callersFunctionSDL_CloseAudio
SDL_CloseAudio */
src/ale/common/SDL2.cpp:74
↓ 2 callersFunctionSDL_GetError
SDL_GetError */
src/ale/common/SDL2.cpp:152
↓ 2 callersFunctionSDL_GetTicks
SDL_GetTicks */
src/ale/common/SDL2.cpp:158
↓ 2 callersFunctionSDL_LockAudio
SDL_LockAudio */
src/ale/common/SDL2.cpp:170
↓ 2 callersFunctionSDL_UnlockAudio
SDL_UnlockAudio */
src/ale/common/SDL2.cpp:231
↓ 2 callersFunction_all_equal
(first, second)
tests/python/test_python_interface.py:349
↓ 2 callersFunction_get_expected_bin_hashes
()
src/ale/python/roms/__init__.py:14
↓ 2 callersMethod_get_info
(self)
src/ale/python/env.py:341
↓ 2 callersMethod_get_obs
Retrieves the current observation using `obs_type`.
src/ale/python/env.py:324
↓ 2 callersMethodadjustVolume
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:227
↓ 2 callersMethodarraySize
Returns the size of the underlying array */
src/ale/environment/ale_screen.hpp:54
↓ 2 callersFunctionbuildRomRLWrapper
looks for the RL wrapper corresponding to a particular rom filename, * and optionally md5. returns null if neither match */
src/ale/games/Roms.cpp:237
↓ 2 callersMethodbyte
src/ale/environment/ale_ram.hpp:58
↓ 2 callersMethodchannels
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:66
↓ 2 callersMethodcloneState
src/ale/environment/stella_environment.cpp:132
↓ 2 callersMethodclone_state
Clone emulator state. To reproduce identical states, specify `include_rng` to `True`. Args: include_rng: If to include t
src/ale/python/env.py:461
↓ 2 callersMethoddequeue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:526
↓ 2 callersMethodgetMD5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/PropsSet.cxx:45
↓ 2 callersMethodgetMode
()
packages/wasm/ale.d.ts:43
↓ 2 callersMethodget_action_meanings
Return the meaning of each action.
src/ale/python/env.py:454
↓ 2 callersMethodhandle
Get raw pointer for JAX FFI handle
src/ale/vector/env_vectorizer.hpp:85
↓ 2 callersMethodincrementFrame
src/ale/environment/ale_state.cpp:109
↓ 2 callersMethodinstall
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:286
↓ 2 callersMethodisLegal
src/ale/games/RomSettings.cpp:28
↓ 2 callersMethodis_episode_over
src/ale/vector/preprocessed_env.cpp:259
↓ 2 callersMethodload
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:150
↓ 2 callersMethodload_game
This function initializes the ROM and sets the corresponding mode and difficulty.
src/ale/python/env.py:219
↓ 2 callersMethodmap_action_idx
Return an action idx given unit actions for underlying env.
src/ale/python/env.py:397
↓ 2 callersMethodnextDouble
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Random.cxx:75
↓ 2 callersMethodoutputFrequency
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:54
↓ 2 callersMethodprocess
src/ale/environment/phosphor_blend.cpp:31
↓ 2 callersMethodrelease_env_ids
src/ale/vector/types.hpp:153
↓ 2 callersMethodrelease_episode_frame_numbers
src/ale/vector/types.hpp:159
↓ 2 callersMethodrelease_frame_numbers
src/ale/vector/types.hpp:158
↓ 2 callersMethodrelease_lives
src/ale/vector/types.hpp:157
↓ 2 callersMethodrelease_observations
Release ownership - returns pointer and nulls internal pointer Caller takes ownership and must delete[]
src/ale/vector/types.hpp:151
↓ 2 callersMethodreset
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:197
↓ 2 callersMethodresetCycles
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:175
↓ 2 callersMethodresetPaddles
src/ale/environment/ale_state.cpp:139
↓ 2 callersMethodrestoreState
src/ale/environment/stella_environment.cpp:137
↓ 2 callersMethodrom
src/ale/games/supported/Et.hpp:43
↓ 2 callersMethodrun_all_benchmarks
Run all benchmark configurations.
scripts/benchmark-vec-env.py:160
↓ 2 callersMethodsave
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:127
↓ 2 callersMethodsave
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:312
↓ 2 callersMethodseed_game
Seeds the internal and ALE RNG.
src/ale/python/env.py:211
↓ 2 callersMethodset
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:78
↓ 2 callersMethodsetCurrentMode
Save the current mode we are supposed to be in.
src/ale/environment/ale_state.hpp:93
↓ 2 callersMethodsetFrameRate
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:259
↓ 2 callersFunctionshortened_repr
(values)
docs/_scripts/gen_environment_page.py:31
↓ 2 callersFunctionshortened_repr
(values)
docs/_scripts/gen_environments_md.py:28
↓ 2 callersMethodstep
src/ale/vector/preprocessed_env.cpp:190
↓ 2 callersMethodstop
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/M6502.cxx:98
↓ 2 callersMethodtiaFrequency
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:60
↓ 2 callersMethodtimed_wait
src/ale/external/lightweightsemaphore.h:100
↓ 2 callersMethodtry_wait
src/ale/external/lightweightsemaphore.h:95
↓ 2 callersMethodxla
Return XLA-compatible functions for JAX integration.
src/ale/python/vector_env.py:230
↓ 1 callersFunctionDecode
Decodes input (unsigned char) into output (UINT4). Assumes len is a multiple of 4.
src/ale/emucore/MD5.cxx:303
↓ 1 callersFunctionMD5Final
MD5 finalization. Ends an MD5 message-digest operation, writing the the message digest and zeroizing the context.
src/ale/emucore/MD5.cxx:177
↓ 1 callersFunctionMD5Init
MD5 initialization. Begins an MD5 operation, writing a new context.
src/ale/emucore/MD5.cxx:129
↓ 1 callersFunctionSDL_AllocFormat
SDL_AllocFormat */
src/ale/common/SDL2.cpp:68
↓ 1 callersFunctionSDL_CreateRGBSurface
SDL_CreateRGBSurface */
src/ale/common/SDL2.cpp:80
↓ 1 callersFunctionSDL_CreateRenderer
SDL_CreateRenderer */
src/ale/common/SDL2.cpp:93
↓ 1 callersFunctionSDL_CreateTexture
SDL_CreateTexture */
src/ale/common/SDL2.cpp:101
↓ 1 callersFunctionSDL_CreateWindow
SDL_CreateWindow */
src/ale/common/SDL2.cpp:111
↓ 1 callersFunctionSDL_Delay
SDL_Delay */
src/ale/common/SDL2.cpp:122
↓ 1 callersFunctionSDL_DestroyRenderer
SDL_DestroyRenderer */
src/ale/common/SDL2.cpp:128
↓ 1 callersFunctionSDL_DestroyTexture
SDL_DestroyTexture */
src/ale/common/SDL2.cpp:134
↓ 1 callersFunctionSDL_DestroyWindow
SDL_DestroyWindow */
src/ale/common/SDL2.cpp:140
↓ 1 callersFunctionSDL_FreeSurface
SDL_FreeSurface */
src/ale/common/SDL2.cpp:146
← previousnext →101–200 of 2,536, ranked by callers