pub struct Config {Show 13 fields
pub matcher_v: String,
pub theta_accept: f64,
pub theta_small: f64,
pub small_block_tokens: usize,
pub context_sim_floor: f64,
pub children_vouch_frac: f64,
pub split_coverage: f64,
pub split_dominant_share: f64,
pub copy_sim: f64,
pub bulk_unmatched_frac: f64,
pub bulk_min_blocks: usize,
pub max_scored_blocks: usize,
pub theta_xdoc: f64,
}Expand description
The thresholds and weights (§6), named as the fixtures spell them. The
reference’s ReconcileConfig uses the camelCase spellings.
Fields§
§matcher_v: StringStamped on every disposition ("m" + VERSION).
theta_accept: f64Phase 5 acceptance.
theta_small: f64Phase 5 acceptance when the new block has fewer than
small_block_tokens tokens.
small_block_tokens: usizeThe tiny-block boundary.
context_sim_floor: f64Phase 4a text_sim floor.
children_vouch_frac: f64Phase 4b: fraction of an old container’s children that must have carried into one new container.
split_coverage: f64Phase 6a split/merge coverage.
Phase 6a dominant-fragment inheritance; 1.01 disables it.
copy_sim: f64Phase 6a copy detection.
bulk_unmatched_frac: f64Bulk-rewrite trigger (strictly exceeded).
bulk_min_blocks: usizeBulk-rewrite minimum document size.
max_scored_blocks: usizePhase 5 skips when the unmatched total exceeds twice this.
theta_xdoc: f64Cross-document acceptance (§7).
Trait Implementations§
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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