fn reset_strategies(&mut self) {
        let mut rng = ChaChaRng::seed_from_u64(self.random_seed);
        let (mut executions, mut deliveries) = self.strategies(&mut rng);
        self.execution = executions.remove(rng.gen_range(0, executions.len()));
        self.delivery = deliveries.remove(rng.gen_range(0, deliveries.len()));
    }
/// Reset strategies according to config parameters.
Reset strategies according to config parameters.
Reset strategies according to config parameters .
fn reset_strategies(&mut self) {
        let mut rng = ChaChaRng::seed_from_u64(self.random_seed);
        let (mut executions, mut deliveries) = self.strategies(&mut rng);
        self.execution = executions.remove(rng.gen_range(0, executions.len()));
        self.delivery = deliveries.remove(rng.gen_range(0, deliveries.len()));
    }
fn reset_strategies ( & mut self ) { let mut rng = ChaChaRng :: seed_from_u64 ( self . random_seed ) ; let ( mut executions , mut deliveries ) = self . strategies ( & mut rng ) ; self . execution = executions . remove ( rng . gen_range ( 0 , executions . len ( ) ) ) ; self . delivery = deliveries . remove ( rng . gen_range ( 0 , deliveries . len ( ) ) ) ; }
Reset strategies according to config parameters.
Reset strategies according to config parameters .
&mut self
&mut self