pub fn new(vmax: usize, emax_hint: usize) -> Self {
        Self {
            first: vec![None; vmax],
            next: Vec::with_capacity(emax_hint),
            endp: Vec::with_capacity(emax_hint),
        }
    }
/// Initializes a graph with vmax vertices and no edges. To reduce
/// unnecessary allocations, emax_hint should be close to the number of
/// edges that will be inserted.
Initializes a graph with vmax vertices and no edges. To reduce
unnecessary allocations, emax_hint should be close to the number of
edges that will be inserted.
Initializes a graph with vmax vertices and no edges . To reduce unnecessary allocations emax_hint should be close to the number of edges that will be inserted .
pub fn new(vmax: usize, emax_hint: usize) -> Self {
        Self {
            first: vec![None; vmax],
            next: Vec::with_capacity(emax_hint),
            endp: Vec::with_capacity(emax_hint),
        }
    }
pub fn new ( vmax : usize , emax_hint : usize ) -> Self { Self { first : vec ! [ None vmax ] , next : Vec :: with_capacity ( emax_hint ) , endp : Vec :: with_capacity ( emax_hint ) , } }
Initializes a graph with vmax vertices and no edges.
Initializes a graph with vmax vertices and no edges .
vmax
usize
emax_hint
usize