pub fn insert_max_paths<F>(&mut self, get_value: &mut F) -> Result<(), Error>
    where
        F: FnMut(&[Vec<usize>], &[usize]) -> Result<T, Error>,
    {
        let indexed_paths = get_max_covering_paths(&self.oracle_numeric_infos, self.nb_required);
        for indexed_path in indexed_paths {
            let (indexes, paths): (Vec<usize>, Vec<Vec<usize>>) = indexed_path.into_iter().unzip();
            self.insert_internal(indexes[0], &paths, 0, &indexes, get_value)?;
        }
        Ok(())
    }
/// Insert the paths to cover outcomes outside of the range of the oracle with
/// minimum number of digits. Should only be called when oracles have varying
/// number of digits.
Insert the paths to cover outcomes outside of the range of the oracle with
minimum number of digits. Should only be called when oracles have varying
number of digits.
Insert the paths to cover outcomes outside of the range of the oracle with minimum number of digits . Should only be called when oracles have varying number of digits .
pub fn insert_max_paths<F>(&mut self, get_value: &mut F) -> Result<(), Error>
    where
        F: FnMut(&[Vec<usize>], &[usize]) -> Result<T, Error>,
    {
        let indexed_paths = get_max_covering_paths(&self.oracle_numeric_infos, self.nb_required);
        for indexed_path in indexed_paths {
            let (indexes, paths): (Vec<usize>, Vec<Vec<usize>>) = indexed_path.into_iter().unzip();
            self.insert_internal(indexes[0], &paths, 0, &indexes, get_value)?;
        }
        Ok(())
    }
pub fn insert_max_paths < F > ( & mut self , get_value : & mut F ) -> Result < ( ) , Error > where F : FnMut ( & [ Vec < usize > ] , & [ usize ] ) -> Result < T , Error > , { let indexed_paths = get_max_covering_paths ( & self . oracle_numeric_infos , self . nb_required ) ; for indexed_path in indexed_paths { let ( indexes , paths ) : ( Vec < usize > , Vec < Vec < usize > > ) = indexed_path . into_iter ( ) . unzip ( ) ; self . insert_internal ( indexes [ 0 ] , & paths , 0 , & indexes , get_value ) ? ; } Ok ( ( ) ) }
Insert the paths to cover outcomes outside of the range of the oracle with
minimum number of digits.
Insert the paths to cover outcomes outside of the range of the oracle with minimum number of digits .
&mut self
get_value
&mut F