pub struct DagSonaEngine { /* private fields */ }Implementations§
Source§impl DagSonaEngine
impl DagSonaEngine
pub fn new(embedding_dim: usize) -> Self
Sourcepub fn post_query(
&mut self,
dag: &QueryDag,
execution_time_ms: f64,
baseline_time_ms: f64,
attention_mechanism: &str,
)
pub fn post_query( &mut self, dag: &QueryDag, execution_time_ms: f64, baseline_time_ms: f64, attention_mechanism: &str, )
Post-query trajectory recording
Sourcepub fn background_learn(&mut self)
pub fn background_learn(&mut self)
Background learning cycle (called periodically)
pub fn pattern_count(&self) -> usize
pub fn trajectory_count(&self) -> usize
pub fn cluster_count(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DagSonaEngine
impl RefUnwindSafe for DagSonaEngine
impl Send for DagSonaEngine
impl Sync for DagSonaEngine
impl Unpin for DagSonaEngine
impl UnsafeUnpin for DagSonaEngine
impl UnwindSafe for DagSonaEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more