fn init_edge_halfs(&mut self)
    {
        self.random_edge_halfs_backup.clear();
        let ptr = self.degree_vec.as_ptr();
        let len = self.degree_vec.len();
        self.random_edge_halfs_backup.extend(
            (0..len)
            .flat_map(
                |i| 
                {
                    let times: usize = unsafe { *ptr.add(i)};
                    iter::repeat(i).take(times)

                }
            )
        );
    }
/// initialize or update the edge halfs vectors for later usage
initialize or update the edge halfs vectors for later usage
initialize or update the edge halfs vectors for later usage
fn init_edge_halfs(&mut self)
    {
        self.random_edge_halfs_backup.clear();
        let ptr = self.degree_vec.as_ptr();
        let len = self.degree_vec.len();
        self.random_edge_halfs_backup.extend(
            (0..len)
            .flat_map(
                |i| 
                {
                    let times: usize = unsafe { *ptr.add(i)};
                    iter::repeat(i).take(times)
                }
            )
        );
    }
fn init_edge_halfs ( & mut self ) { self . random_edge_halfs_backup . clear ( ) ; let ptr = self . degree_vec . as_ptr ( ) ; let len = self . degree_vec . len ( ) ; self . random_edge_halfs_backup . extend ( ( 0 .. len ) . flat_map ( | i | { let times : usize = unsafe { * ptr . add ( i ) } ; iter :: repeat ( i ) . take ( times ) } ) ) ; }
initialize or update the edge halfs vectors for later usage
initialize or update the edge halfs vectors for later usage
&mut self
&mut self