pub struct AttractorAnalyzer { /* private fields */ }Expand description
Attractor analyzer
Implementations§
Source§impl AttractorAnalyzer
impl AttractorAnalyzer
Sourcepub fn new(embedding_dimension: usize, max_trajectory_length: usize) -> Self
pub fn new(embedding_dimension: usize, max_trajectory_length: usize) -> Self
Create a new attractor analyzer
Sourcepub fn add_point(&mut self, point: PhasePoint) -> Result<(), AttractorError>
pub fn add_point(&mut self, point: PhasePoint) -> Result<(), AttractorError>
Add a point to the trajectory
Sourcepub fn analyze(&self) -> Result<AttractorInfo, AttractorError>
pub fn analyze(&self) -> Result<AttractorInfo, AttractorError>
Analyze the current trajectory
Sourcepub fn get_trajectory_stats(&self) -> BehaviorSummary
pub fn get_trajectory_stats(&self) -> BehaviorSummary
Get trajectory statistics
Sourcepub fn trajectory_length(&self) -> usize
pub fn trajectory_length(&self) -> usize
Get current trajectory length
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AttractorAnalyzer
impl RefUnwindSafe for AttractorAnalyzer
impl Send for AttractorAnalyzer
impl Sync for AttractorAnalyzer
impl Unpin for AttractorAnalyzer
impl UnsafeUnpin for AttractorAnalyzer
impl UnwindSafe for AttractorAnalyzer
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