pub struct LcaTableCompact<T: DenseId> { /* private fields */ }Expand description
Precomputed LCA structure with delta-encoded depths. It avoids one absolute-depth word per Euler entry. Queries do a short prefix sum to recover absolute depths when comparing candidates.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for LcaTableCompact<T>
impl<T> RefUnwindSafe for LcaTableCompact<T>where
Vec<T>: RefUnwindSafe,
Vec<<T as DenseId>::Index>: RefUnwindSafe,
Vec<Vec<(<T as DenseId>::Index, usize)>>: RefUnwindSafe,
impl<T> Send for LcaTableCompact<T>
impl<T> Sync for LcaTableCompact<T>
impl<T> Unpin for LcaTableCompact<T>
impl<T> UnsafeUnpin for LcaTableCompact<T>where
Vec<T>: UnsafeUnpin,
Vec<<T as DenseId>::Index>: UnsafeUnpin,
Vec<Vec<(<T as DenseId>::Index, usize)>>: UnsafeUnpin,
impl<T> UnwindSafe for LcaTableCompact<T>where
Vec<T>: UnwindSafe,
Vec<<T as DenseId>::Index>: UnwindSafe,
Vec<Vec<(<T as DenseId>::Index, usize)>>: UnwindSafe,
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