clm_rust_core/layer5/
mod.rs1pub mod learning;
12#[cfg(feature = "native")]
13pub mod petri_learning;
14pub mod telemetry_hook;
15pub mod type_lattice;
16
17pub use learning::{
18 advance_boundary, close_gamma_loop, compute_delta_e, evaluate_epistemic_fitness, seal_epoch,
19 ContinuousLearningEngine, EpochState, EpistemicFitnessReport, LearningHypothesis,
20};
21#[cfg(feature = "native")]
22pub use petri_learning::{
23 EpistemicPlaceMCard, Layer5EpistemicLearningNet, LearningCycleResult, LearningTransitionPCard,
24};
25pub use telemetry_hook::LoopGammaTelemetryHook;
26pub use type_lattice::{
27 get_universe_coordinates, is_stratified, validate_universe_level, LatticeCoordinate,
28 UniverseLevel,
29};
30
31#[derive(Debug, Clone, Copy, PartialEq, Eq)]
33pub enum RefinementPhase {
34 Observe,
35 Reflect,
36 Hypothesize,
37 Synthesize,
38 Test,
39 Audit,
40 Integrate,
41 Quarantine,
42}
43
44impl RefinementPhase {
45 pub fn as_str(&self) -> &'static str {
46 match self {
47 Self::Observe => "observe",
48 Self::Reflect => "reflect",
49 Self::Hypothesize => "hypothesize",
50 Self::Synthesize => "synthesize",
51 Self::Test => "test",
52 Self::Audit => "audit",
53 Self::Integrate => "integrate",
54 Self::Quarantine => "quarantine",
55 }
56 }
57}