src/lib.rs

changeset 90
b471a13e3136
parent 89
8d1c959432c8
--- a/src/lib.rs	Tue Aug 04 14:12:18 2026 -0500
+++ b/src/lib.rs	Tue Aug 04 19:24:55 2026 -0500
@@ -251,6 +251,12 @@
     /// Whether to perform random insertions after merge. Not all methods support this.
     pub random_insertions: Option<bool>,
 
+    #[arg(long)]
+    /// Whether to do insertions even if there is no tolerance violation.
+    /// This will require merging to be enabled for the number of spikes to not increase
+    /// uncontrollably.
+    pub greedy: Option<bool>,
+
     #[arg(long, value_names = &["ε", "θ", "p"])]
     /// Set the tolerance to ε_k = ε/(1+θk)^p
     pub tolerance: Option<Vec<F>>,

mercurial