feat: add SQLite storage backend for multi-process optimization

This commit is contained in:
Manuel Raimann
2026-02-11 23:21:47 +01:00
parent ed1e9e31da
commit ed80c59795
7 changed files with 423 additions and 3 deletions
+6 -2
View File
@@ -269,8 +269,10 @@ pub use sampler::sobol::SobolSampler;
pub use sampler::tpe::TpeSampler;
#[cfg(feature = "journal")]
pub use storage::JournalStorage;
#[cfg(feature = "sqlite")]
pub use storage::SqliteStorage;
pub use storage::{MemoryStorage, Storage};
pub use study::Study;
pub use study::{Study, StudyBuilder};
#[cfg(feature = "serde")]
pub use study::StudySnapshot;
pub use trial::{AttrValue, Trial};
@@ -315,8 +317,10 @@ pub mod prelude {
pub use crate::sampler::tpe::TpeSampler;
#[cfg(feature = "journal")]
pub use crate::storage::JournalStorage;
#[cfg(feature = "sqlite")]
pub use crate::storage::SqliteStorage;
pub use crate::storage::{MemoryStorage, Storage};
pub use crate::study::Study;
pub use crate::study::{Study, StudyBuilder};
#[cfg(feature = "serde")]
pub use crate::study::StudySnapshot;
pub use crate::trial::{AttrValue, Trial};