pub struct OptimizedDiscoveryEngine { /* private fields */ }Expand description
Optimized discovery engine with parallel processing
Implementations§
Source§impl OptimizedDiscoveryEngine
impl OptimizedDiscoveryEngine
Sourcepub fn new(config: OptimizedConfig) -> Self
pub fn new(config: OptimizedConfig) -> Self
Create a new optimized engine
Sourcepub fn add_vectors_batch(&mut self, vectors: Vec<SemanticVector>) -> Vec<u32>
pub fn add_vectors_batch(&mut self, vectors: Vec<SemanticVector>) -> Vec<u32>
Add vectors in batch with parallel similarity computation
Sourcepub fn add_vector(&mut self, vector: SemanticVector) -> u32
pub fn add_vector(&mut self, vector: SemanticVector) -> u32
Single vector add (falls back to batch of 1)
Sourcepub fn compute_coherence(&mut self) -> CoherenceSnapshot
pub fn compute_coherence(&mut self) -> CoherenceSnapshot
Incremental min-cut update (reuses cached adjacency when possible)
Sourcepub fn detect_patterns_with_significance(&mut self) -> Vec<SignificantPattern>
pub fn detect_patterns_with_significance(&mut self) -> Vec<SignificantPattern>
Detect patterns with statistical significance testing
Sourcepub fn domain_coherence(&self, domain: Domain) -> Option<f64>
pub fn domain_coherence(&self, domain: Domain) -> Option<f64>
Get domain-specific coherence
Sourcepub fn metrics(&self) -> &PerformanceMetrics
pub fn metrics(&self) -> &PerformanceMetrics
Get performance metrics
Sourcepub fn stats(&self) -> OptimizedStats
pub fn stats(&self) -> OptimizedStats
Get statistics
Auto Trait Implementations§
impl !Freeze for OptimizedDiscoveryEngine
impl RefUnwindSafe for OptimizedDiscoveryEngine
impl Send for OptimizedDiscoveryEngine
impl Sync for OptimizedDiscoveryEngine
impl Unpin for OptimizedDiscoveryEngine
impl UnwindSafe for OptimizedDiscoveryEngine
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more