pub struct IntegratedInformation {
pub phi: f64,
pub num_elements: usize,
pub num_connections: usize,
pub complexity: f64,
pub integration: f64,
pub effective_information: f64,
}Expand description
Integrated Information (Φ) calculation using IIT
Fields§
§phi: f64Φ value (integrated information)
num_elements: usizeNumber of elements in the system
num_connections: usizeNumber of connections
complexity: f64System complexity measure
integration: f64Information integration measure
effective_information: f64Effective information
Implementations§
Source§impl IntegratedInformation
impl IntegratedInformation
Sourcepub fn new(
phi: f64,
num_elements: usize,
num_connections: usize,
complexity: f64,
integration: f64,
) -> Self
pub fn new( phi: f64, num_elements: usize, num_connections: usize, complexity: f64, integration: f64, ) -> Self
Create new integrated information measurement
Sourcepub fn is_conscious(&self, threshold: f64) -> bool
pub fn is_conscious(&self, threshold: f64) -> bool
Check if the system exhibits consciousness based on Φ threshold
Sourcepub fn consciousness_level(&self, max_phi: f64) -> f64
pub fn consciousness_level(&self, max_phi: f64) -> f64
Get consciousness level as a percentage
Sourcepub fn information_density(&self) -> f64
pub fn information_density(&self) -> f64
Calculate information density
Sourcepub fn connectivity_ratio(&self) -> f64
pub fn connectivity_ratio(&self) -> f64
Calculate connectivity ratio
Trait Implementations§
Source§impl Clone for IntegratedInformation
impl Clone for IntegratedInformation
Source§fn clone(&self) -> IntegratedInformation
fn clone(&self) -> IntegratedInformation
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 IntegratedInformation
impl Debug for IntegratedInformation
Source§impl<'de> Deserialize<'de> for IntegratedInformation
impl<'de> Deserialize<'de> for IntegratedInformation
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 IntegratedInformation
impl RefUnwindSafe for IntegratedInformation
impl Send for IntegratedInformation
impl Sync for IntegratedInformation
impl Unpin for IntegratedInformation
impl UnwindSafe for IntegratedInformation
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.