pub struct ComplexityResult {
pub entropy: f32,
pub normalized_complexity: f32,
pub regime: ComplexityRegime,
}Expand description
Result of a complexity estimation.
Fields§
§entropy: f32Shannon entropy H (bits).
normalized_complexity: f32Normalized complexity ∈ [0, 1]. H / log₂(BINS).
regime: ComplexityRegimeQualitative complexity regime.
Trait Implementations§
Source§impl Clone for ComplexityResult
impl Clone for ComplexityResult
Source§fn clone(&self) -> ComplexityResult
fn clone(&self) -> ComplexityResult
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 ComplexityResult
impl Debug for ComplexityResult
Source§impl PartialEq for ComplexityResult
impl PartialEq for ComplexityResult
impl Copy for ComplexityResult
impl StructuralPartialEq for ComplexityResult
Auto Trait Implementations§
impl Freeze for ComplexityResult
impl RefUnwindSafe for ComplexityResult
impl Send for ComplexityResult
impl Sync for ComplexityResult
impl Unpin for ComplexityResult
impl UnsafeUnpin for ComplexityResult
impl UnwindSafe for ComplexityResult
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