pub struct ExactPhiEngine;Expand description
Exact Φ computation via exhaustive bipartition enumeration.
Evaluates all 2^(n-1) - 1 bipartitions. Practical for n ≤ 16.
Trait Implementations§
Source§impl PhiEngine for ExactPhiEngine
impl PhiEngine for ExactPhiEngine
Source§fn compute_phi(
&self,
tpm: &TransitionMatrix,
state: Option<usize>,
budget: &ComputeBudget,
) -> Result<PhiResult, ConsciousnessError>
fn compute_phi( &self, tpm: &TransitionMatrix, state: Option<usize>, budget: &ComputeBudget, ) -> Result<PhiResult, ConsciousnessError>
Compute Φ for the given transition probability matrix. Read more
Source§fn algorithm(&self) -> PhiAlgorithm
fn algorithm(&self) -> PhiAlgorithm
Return the algorithm identifier.
Source§fn estimate_cost(&self, n: usize) -> u64
fn estimate_cost(&self, n: usize) -> u64
Estimate computational cost without performing the computation.
Auto Trait Implementations§
impl Freeze for ExactPhiEngine
impl RefUnwindSafe for ExactPhiEngine
impl Send for ExactPhiEngine
impl Sync for ExactPhiEngine
impl Unpin for ExactPhiEngine
impl UnsafeUnpin for ExactPhiEngine
impl UnwindSafe for ExactPhiEngine
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