pub struct SiblingConfig {
pub similarity_delta: f64,
pub candidate_budget: usize,
pub per_group_cap: usize,
pub total_cap: usize,
}Expand description
Tuning for the post-grouping sibling sweep.
A sibling is deliberately weaker than a group member: it is an ungrouped unit in a file that already hosts a cohesive group member, compared only to that group’s canonical unit. The sweep finds incomplete local mirrors without inventing primary similarity edges or allowing a near-copy to pull a group apart or together.
Fields§
§similarity_delta: f64How far below the normal Type-3 threshold a sibling may land.
The effective threshold is clamped to the normal threshold’s non-negative range, so an invalidly large delta cannot turn every unrelated unit into a sibling.
candidate_budget: usizeMaximum canonical-to-ungrouped comparisons in the sweep.
per_group_cap: usizeMaximum siblings retained for one primary group.
total_cap: usizeMaximum siblings retained over the whole structural report.
Trait Implementations§
Source§impl Clone for SiblingConfig
impl Clone for SiblingConfig
Source§fn clone(&self) -> SiblingConfig
fn clone(&self) -> SiblingConfig
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 SiblingConfig
impl Debug for SiblingConfig
Source§impl Default for SiblingConfig
impl Default for SiblingConfig
Source§impl PartialEq for SiblingConfig
impl PartialEq for SiblingConfig
impl StructuralPartialEq for SiblingConfig
Auto Trait Implementations§
impl Freeze for SiblingConfig
impl RefUnwindSafe for SiblingConfig
impl Send for SiblingConfig
impl Sync for SiblingConfig
impl Unpin for SiblingConfig
impl UnsafeUnpin for SiblingConfig
impl UnwindSafe for SiblingConfig
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