Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Farama-Foundation/Arcade-Learning-Environment
/ functions
Functions
2,536 in github.com/Farama-Foundation/Arcade-Learning-Environment
⨍
Functions
2,536
◇
Types & classes
148
↓ 3 callers
Function
MD5Update
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 callers
Function
assert_gym_ale_rollout_equivalence
Test if both environments produce similar results over a short rollout.
tests/python/test_atari_vector_env.py:45
↓ 3 callers
Function
assert_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 callers
Method
cloneSystemState
src/ale/ale_interface.cpp:386
↓ 3 callers
Function
convertGrayscale
src/ale/common/ColourPalette.cpp:35
↓ 3 callers
Method
enqueue_bulk
Enqueue multiple actions at once. Thread-safe.
src/ale/vector/action_queue.hpp:28
↓ 3 callers
Method
game_truncated
Indicateds if the episode has been truncated.
src/ale/ale_interface.cpp:247
↓ 3 callers
Method
getRAMSize
src/ale/python/ale_python_interface.hpp:84
↓ 3 callers
Method
get_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 callers
Method
isSupportedROM
src/ale/ale_interface.cpp:168
↓ 3 callers
Method
is_grayscale
src/ale/vector/env_vectorizer.hpp:75
↓ 3 callers
Method
measure_system_resources
Measure current CPU and memory usage.
scripts/benchmark-vec-env.py:81
↓ 3 callers
Method
observation_shape
Get observation shape as tuple (stack_num, height, width) or (stack_num, height, width, 3)
src/ale/vector/env_vectorizer.hpp:78
↓ 3 callers
Method
poke
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/CartAR.cxx:162
↓ 3 callers
Method
process
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundRaw.cxx:121
↓ 3 callers
Method
reset
Resets the sub-environments. Args: seed: Current unimplemented options: Supports `reset_mask` that indicates what sub
src/ale/python/vector_env.py:148
↓ 3 callers
Method
reset
Resets environment and returns initial episode observation.
src/ale/python/env.py:228
↓ 3 callers
Method
reset
src/ale/vector/env_vectorizer.cpp:113
↓ 3 callers
Method
rewards_data
src/ale/vector/types.hpp:142
↓ 3 callers
Function
rom_id_to_name
Convert a rom id in snake_case to the name in PascalCase.
src/ale/python/registration.py:9
↓ 3 callers
Method
size
src/ale/environment/ale_ram.hpp:41
↓ 3 callers
Method
stage_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 callers
Method
terminations_data
src/ale/vector/types.hpp:143
↓ 3 callers
Method
truncations_data
src/ale/vector/types.hpp:144
↓ 3 callers
Function
writePNGChunk
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 callers
Method
ALEInterface
src/ale/ale_interface.cpp:99
↓ 2 callers
Function
Encode
Encodes input (UINT4) into output (unsigned char). Assumes len is a multiple of 4.
src/ale/emucore/MD5.cxx:289
↓ 2 callers
Function
MD5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/MD5.cxx:331
↓ 2 callers
Function
MD5Transform
MD5 basic transformation. Transforms state based on block.
src/ale/emucore/MD5.cxx:200
↓ 2 callers
Function
MD5_memcpy
Note: Replace "for loop" with standard memcpy if possible.
src/ale/emucore/MD5.cxx:313
↓ 2 callers
Function
MD5_memset
Note: Replace "for loop" with standard memset if possible.
src/ale/emucore/MD5.cxx:322
↓ 2 callers
Function
SDL_CloseAudio
SDL_CloseAudio */
src/ale/common/SDL2.cpp:74
↓ 2 callers
Function
SDL_GetError
SDL_GetError */
src/ale/common/SDL2.cpp:152
↓ 2 callers
Function
SDL_GetTicks
SDL_GetTicks */
src/ale/common/SDL2.cpp:158
↓ 2 callers
Function
SDL_LockAudio
SDL_LockAudio */
src/ale/common/SDL2.cpp:170
↓ 2 callers
Function
SDL_UnlockAudio
SDL_UnlockAudio */
src/ale/common/SDL2.cpp:231
↓ 2 callers
Function
_all_equal
(first, second)
tests/python/test_python_interface.py:349
↓ 2 callers
Function
_get_expected_bin_hashes
()
src/ale/python/roms/__init__.py:14
↓ 2 callers
Method
_get_info
(self)
src/ale/python/env.py:341
↓ 2 callers
Method
_get_obs
Retrieves the current observation using `obs_type`.
src/ale/python/env.py:324
↓ 2 callers
Method
adjustVolume
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:227
↓ 2 callers
Method
arraySize
Returns the size of the underlying array */
src/ale/environment/ale_screen.hpp:54
↓ 2 callers
Function
buildRomRLWrapper
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 callers
Method
byte
src/ale/environment/ale_ram.hpp:58
↓ 2 callers
Method
channels
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:66
↓ 2 callers
Method
cloneState
src/ale/environment/stella_environment.cpp:132
↓ 2 callers
Method
clone_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 callers
Method
dequeue
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:526
↓ 2 callers
Method
getMD5
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/PropsSet.cxx:45
↓ 2 callers
Method
getMode
()
packages/wasm/ale.d.ts:43
↓ 2 callers
Method
get_action_meanings
Return the meaning of each action.
src/ale/python/env.py:454
↓ 2 callers
Method
handle
Get raw pointer for JAX FFI handle
src/ale/vector/env_vectorizer.hpp:85
↓ 2 callers
Method
incrementFrame
src/ale/environment/ale_state.cpp:109
↓ 2 callers
Method
install
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:286
↓ 2 callers
Method
isLegal
src/ale/games/RomSettings.cpp:28
↓ 2 callers
Method
is_episode_over
src/ale/vector/preprocessed_env.cpp:259
↓ 2 callers
Method
load
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:150
↓ 2 callers
Method
load_game
This function initializes the ROM and sets the corresponding mode and difficulty.
src/ale/python/env.py:219
↓ 2 callers
Method
map_action_idx
Return an action idx given unit actions for underlying env.
src/ale/python/env.py:397
↓ 2 callers
Method
nextDouble
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Random.cxx:75
↓ 2 callers
Method
outputFrequency
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:54
↓ 2 callers
Method
process
src/ale/environment/phosphor_blend.cpp:31
↓ 2 callers
Method
release_env_ids
src/ale/vector/types.hpp:153
↓ 2 callers
Method
release_episode_frame_numbers
src/ale/vector/types.hpp:159
↓ 2 callers
Method
release_frame_numbers
src/ale/vector/types.hpp:158
↓ 2 callers
Method
release_lives
src/ale/vector/types.hpp:157
↓ 2 callers
Method
release_observations
Release ownership - returns pointer and nulls internal pointer Caller takes ownership and must delete[]
src/ale/vector/types.hpp:151
↓ 2 callers
Method
reset
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:197
↓ 2 callers
Method
resetCycles
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:175
↓ 2 callers
Method
resetPaddles
src/ale/environment/ale_state.cpp:139
↓ 2 callers
Method
restoreState
src/ale/environment/stella_environment.cpp:137
↓ 2 callers
Method
rom
src/ale/games/supported/Et.hpp:43
↓ 2 callers
Method
run_all_benchmarks
Run all benchmark configurations.
scripts/benchmark-vec-env.py:160
↓ 2 callers
Method
save
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:127
↓ 2 callers
Method
save
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:312
↓ 2 callers
Method
seed_game
Seeds the internal and ALE RNG.
src/ale/python/env.py:211
↓ 2 callers
Method
set
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:78
↓ 2 callers
Method
setCurrentMode
Save the current mode we are supposed to be in.
src/ale/environment/ale_state.hpp:93
↓ 2 callers
Method
setFrameRate
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:259
↓ 2 callers
Function
shortened_repr
(values)
docs/_scripts/gen_environment_page.py:31
↓ 2 callers
Function
shortened_repr
(values)
docs/_scripts/gen_environments_md.py:28
↓ 2 callers
Method
step
src/ale/vector/preprocessed_env.cpp:190
↓ 2 callers
Method
stop
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/M6502.cxx:98
↓ 2 callers
Method
tiaFrequency
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIASnd.cxx:60
↓ 2 callers
Method
timed_wait
src/ale/external/lightweightsemaphore.h:100
↓ 2 callers
Method
try_wait
src/ale/external/lightweightsemaphore.h:95
↓ 2 callers
Method
xla
Return XLA-compatible functions for JAX integration.
src/ale/python/vector_env.py:230
↓ 1 callers
Function
Decode
Decodes input (unsigned char) into output (UINT4). Assumes len is a multiple of 4.
src/ale/emucore/MD5.cxx:303
↓ 1 callers
Function
MD5Final
MD5 finalization. Ends an MD5 message-digest operation, writing the the message digest and zeroizing the context.
src/ale/emucore/MD5.cxx:177
↓ 1 callers
Function
MD5Init
MD5 initialization. Begins an MD5 operation, writing a new context.
src/ale/emucore/MD5.cxx:129
↓ 1 callers
Function
SDL_AllocFormat
SDL_AllocFormat */
src/ale/common/SDL2.cpp:68
↓ 1 callers
Function
SDL_CreateRGBSurface
SDL_CreateRGBSurface */
src/ale/common/SDL2.cpp:80
↓ 1 callers
Function
SDL_CreateRenderer
SDL_CreateRenderer */
src/ale/common/SDL2.cpp:93
↓ 1 callers
Function
SDL_CreateTexture
SDL_CreateTexture */
src/ale/common/SDL2.cpp:101
↓ 1 callers
Function
SDL_CreateWindow
SDL_CreateWindow */
src/ale/common/SDL2.cpp:111
↓ 1 callers
Function
SDL_Delay
SDL_Delay */
src/ale/common/SDL2.cpp:122
↓ 1 callers
Function
SDL_DestroyRenderer
SDL_DestroyRenderer */
src/ale/common/SDL2.cpp:128
↓ 1 callers
Function
SDL_DestroyTexture
SDL_DestroyTexture */
src/ale/common/SDL2.cpp:134
↓ 1 callers
Function
SDL_DestroyWindow
SDL_DestroyWindow */
src/ale/common/SDL2.cpp:140
↓ 1 callers
Function
SDL_FreeSurface
SDL_FreeSurface */
src/ale/common/SDL2.cpp:146
← previous
next →
101–200 of 2,536, ranked by callers