pub struct RandomStrategy {
pub seed: u64,
}Expand description
Random strategy — assigns deterministic pseudo-random values via LCG.
Uses a fixed-seed LCG so results are reproducible across runs. Serves as the lower-bound baseline in ablation experiments.
Fields§
§seed: u64Seed for the LCG. Default: 42.
Trait Implementations§
Source§impl Default for RandomStrategy
impl Default for RandomStrategy
Source§impl TrimStrategy for RandomStrategy
impl TrimStrategy for RandomStrategy
Source§fn assign_values(&self, tree: &mut TrimNode)
fn assign_values(&self, tree: &mut TrimNode)
Assign value scores to all nodes in the tree.
Auto Trait Implementations§
impl Freeze for RandomStrategy
impl RefUnwindSafe for RandomStrategy
impl Send for RandomStrategy
impl Sync for RandomStrategy
impl Unpin for RandomStrategy
impl UnsafeUnpin for RandomStrategy
impl UnwindSafe for RandomStrategy
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