Skip to main content

init

Function init 

Source
pub fn init(config: ExplorationConfig) -> Result<(), Error>
Expand description

Initialize the exploration framework.

Allocates shared memory for cross-process state and activates exploration. Must be called after set_rng_hooks and before the simulation loop.

ยงErrors

Returns an error if shared memory allocation fails.