pub struct SemanticRuleGroup {
pub rule: SemanticRule,
pub canonical: usize,
pub members: Vec<usize>,
pub min_pairwise: f64,
}Expand description
A cohesive set of SOG-owning units justified by one registered rule.
Every pair of members was separately accepted by rule. In particular,
this is not a connected component of pair matches: an absent pair is
treated as incompatible by complete-linkage refinement.
Fields§
§rule: SemanticRuleThe sole registered rule that explains every internal relation.
canonical: usizeThe deterministic medoid, indexed into the caller’s unit slice.
members: Vec<usize>Member unit indices, with the canonical unit first.
min_pairwise: f64Weakest accepted internal relation. This is always 1.0 for the
binary registered-rule relation, but is retained as explicit evidence
of the complete-linkage contract.
Trait Implementations§
Source§impl Clone for SemanticRuleGroup
impl Clone for SemanticRuleGroup
Source§fn clone(&self) -> SemanticRuleGroup
fn clone(&self) -> SemanticRuleGroup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticRuleGroup
impl Debug for SemanticRuleGroup
Source§impl PartialEq for SemanticRuleGroup
impl PartialEq for SemanticRuleGroup
impl StructuralPartialEq for SemanticRuleGroup
Auto Trait Implementations§
impl Freeze for SemanticRuleGroup
impl RefUnwindSafe for SemanticRuleGroup
impl Send for SemanticRuleGroup
impl Sync for SemanticRuleGroup
impl Unpin for SemanticRuleGroup
impl UnsafeUnpin for SemanticRuleGroup
impl UnwindSafe for SemanticRuleGroup
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