pub struct CssrResult {
pub states: Vec<CausalState>,
pub assignment: HashMap<Vec<u8>, usize>,
pub alphabet_size: usize,
pub max_depth: usize,
}Expand description
Output of a single CSSR run.
Fields§
§states: Vec<CausalState>Final causal states (non-empty, re-indexed 0..k).
assignment: HashMap<Vec<u8>, usize>Maps every observed history to its state index.
alphabet_size: usize§max_depth: usizeTrait Implementations§
Source§impl Clone for CssrResult
impl Clone for CssrResult
Source§fn clone(&self) -> CssrResult
fn clone(&self) -> CssrResult
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 moreAuto Trait Implementations§
impl Freeze for CssrResult
impl RefUnwindSafe for CssrResult
impl Send for CssrResult
impl Sync for CssrResult
impl Unpin for CssrResult
impl UnsafeUnpin for CssrResult
impl UnwindSafe for CssrResult
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