69 static const std::filesystem::path p =
70 std::filesystem::temp_directory_path() /
71 (
"aleph_fuzz_ckpt_" + std::to_string(
::getpid()) +
".bin");
81 std::ofstream
out(path, std::ios::binary | std::ios::trunc);
82 out.write(
reinterpret_cast<const char *
>(data),
83 static_cast<std::streamsize
>(
size));
size_t size_t int32_t * out
Binary checkpoint format for Aleph::CA engines (Phase 15 + Phase 17 crash-safe / compress / async wri...
Common typedefs and tag types for the Cellular Automata module.
Lattice that adds boundary-aware access on top of a storage.
Moore (Chebyshev) neighborhood of radius R in N dimensions.
Synchronous double-buffered engine.
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
constexpr Game_Of_Life_Rule make_game_of_life_rule() noexcept
Build the canonical Game of Life rule.
Resume_Token load_checkpoint_into(Engine &engine, const std::filesystem::path &path)
Restore an engine's state in-place from a checkpoint file.
Main namespace for Aleph-w library functions.
size_t size(Node *root) noexcept
Resume handle returned by load_checkpoint_into.
The lattice wraps around on every axis.
Synchronous double-buffered engine for cellular automata.
Cellular automata lattice with pluggable boundary policies.
Neighborhoods catalogue for Aleph::CA.
Rule mechanisms for Aleph::CA.
Dense, contiguous storage for cellular automata cells (1D/2D/3D).