Skip to main content

Module checkpoint

Module checkpoint 

Source
Expand description

Checkpointing support for evolution state persistence

This module provides serialization and recovery of evolution state, enabling long-running experiments to be paused and resumed.

The state submodule (data structures) is always available. The recovery submodule (file I/O) requires the checkpoint feature.

Modules§

prelude
Prelude for checkpoint module

Structs§

Checkpoint
Complete evolution state for checkpointing
CheckpointBuilder
Builder for creating checkpoints
CheckpointManager
Checkpoint manager for automatic saving
CmaEsCheckpointState
CMA-ES checkpoint state
HyperparameterState
Hyperparameter learning state

Enums§

AlgorithmState
Algorithm-specific state variants
CheckpointFormat
Format for checkpoint serialization

Constants§

CHECKPOINT_VERSION
Current checkpoint format version

Functions§

load_checkpoint
Load a checkpoint from a file
save_checkpoint
Save a checkpoint to a file