refactor(tpe): split multivariate sampler into focused submodules

- Extract engine.rs (core sampling logic) and trials.rs (trial processing)
- Deduplicate TPE sampling functions by delegating to tpe::common
- Gate persistence.rs imports with #[cfg(feature = "serde")]
This commit is contained in:
Manuel Raimann
2026-02-12 15:38:23 +01:00
parent d80d2bb1fb
commit a502d7e1b8
4 changed files with 839 additions and 1248 deletions
+4
View File
@@ -1,8 +1,12 @@
#[cfg(feature = "serde")]
use std::collections::HashMap;
#[cfg(feature = "serde")]
use crate::sampler::CompletedTrial;
#[cfg(feature = "serde")]
use crate::types::Direction;
#[cfg(feature = "serde")]
use super::Study;
/// A serializable snapshot of a study's state.