pub struct StratificationResult {
pub sccs: Vec<Vec<String>>,
pub non_monotone_sccs: HashSet<usize>,
pub strata: HashMap<String, usize>,
}Expand description
Result of stratification analysis for probabilistic inference
Fields§
§sccs: Vec<Vec<String>>SCCs in evaluation order (dependencies first)
non_monotone_sccs: HashSet<usize>Indices of SCCs that have cycles through negation (non-monotone)
strata: HashMap<String, usize>Stratum number for each predicate (if fully stratified)
Trait Implementations§
Source§impl Clone for StratificationResult
impl Clone for StratificationResult
Source§fn clone(&self) -> StratificationResult
fn clone(&self) -> StratificationResult
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 StratificationResult
impl RefUnwindSafe for StratificationResult
impl Send for StratificationResult
impl Sync for StratificationResult
impl Unpin for StratificationResult
impl UnsafeUnpin for StratificationResult
impl UnwindSafe for StratificationResult
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