pub mod learning;
#[cfg(feature = "native")]
pub mod petri_learning;
pub mod telemetry_hook;
pub mod type_lattice;
pub use learning::{
advance_boundary, close_gamma_loop, compute_delta_e, evaluate_epistemic_fitness, seal_epoch,
ContinuousLearningEngine, EpochState, EpistemicFitnessReport, LearningHypothesis,
};
#[cfg(feature = "native")]
pub use petri_learning::{
EpistemicPlaceMCard, Layer5EpistemicLearningNet, LearningCycleResult, LearningTransitionPCard,
};
pub use telemetry_hook::LoopGammaTelemetryHook;
pub use type_lattice::{
get_universe_coordinates, is_stratified, validate_universe_level, LatticeCoordinate,
UniverseLevel,
};
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum RefinementPhase {
Observe,
Reflect,
Hypothesize,
Synthesize,
Test,
Audit,
Integrate,
Quarantine,
}
impl RefinementPhase {
pub fn as_str(&self) -> &'static str {
match self {
Self::Observe => "observe",
Self::Reflect => "reflect",
Self::Hypothesize => "hypothesize",
Self::Synthesize => "synthesize",
Self::Test => "test",
Self::Audit => "audit",
Self::Integrate => "integrate",
Self::Quarantine => "quarantine",
}
}
}