pub struct LabyrinthStructure {
pub embedding_dimension: u8,
pub time_delay: u16,
pub attractor_points: Vec<Vec<f64>>,
pub betti_numbers: Vec<u32>,
pub lyapunov_exponent: Option<f64>,
pub correlation_dimension: f64,
}Expand description
Detects characteristic attractors in human typing via Takens’ embedding.
labyrinth-structure = {
1: uint, ; Embedding dimension (typically 3-5)
2: uint, ; Time delay (samples)
3: [[* float64]], ; Attractor points (sampled)
4: [* uint], ; Betti numbers [β₀, β₁, β₂, ...]
5: float64, ; Lyapunov exponent estimate
6: float64 ; Correlation dimension
}Fields§
§embedding_dimension: u8§time_delay: u16§attractor_points: Vec<Vec<f64>>Each inner vec has length embedding_dimension.
betti_numbers: Vec<u32>β₀=components, β₁=loops, β₂=voids.
lyapunov_exponent: Option<f64>Positive = chaotic (human-like), non-positive = periodic.
None when not computed from source data.
correlation_dimension: f64Non-integer values suggest fractal attractor.
Trait Implementations§
Source§impl Clone for LabyrinthStructure
impl Clone for LabyrinthStructure
Source§fn clone(&self) -> LabyrinthStructure
fn clone(&self) -> LabyrinthStructure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LabyrinthStructure
impl Debug for LabyrinthStructure
Source§impl<'de> Deserialize<'de> for LabyrinthStructure
impl<'de> Deserialize<'de> for LabyrinthStructure
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LabyrinthStructure
impl RefUnwindSafe for LabyrinthStructure
impl Send for LabyrinthStructure
impl Sync for LabyrinthStructure
impl Unpin for LabyrinthStructure
impl UnsafeUnpin for LabyrinthStructure
impl UnwindSafe for LabyrinthStructure
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