pub fn new(vmax: usize, emax: usize) -> Self {
        Self {
            graph: Graph::new(vmax, 2 * emax),
            cap: Vec::with_capacity(2 * emax),
            cost: Vec::with_capacity(2 * emax),
        }
    }
/// Initializes an flow network with vmax vertices and no edges.
Initializes an flow network with vmax vertices and no edges.
Initializes an flow network with vmax vertices and no edges .
pub fn new(vmax: usize, emax: usize) -> Self {
        Self {
            graph: Graph::new(vmax, 2 * emax),
            cap: Vec::with_capacity(2 * emax),
            cost: Vec::with_capacity(2 * emax),
        }
    }
pub fn new ( vmax : usize , emax : usize ) -> Self { Self { graph : Graph :: new ( vmax , 2 * emax ) , cap : Vec :: with_capacity ( 2 * emax ) , cost : Vec :: with_capacity ( 2 * emax ) , } }
Initializes an flow network with vmax vertices and no edges.
Initializes an flow network with vmax vertices and no edges .
vmax
usize
emax
usize
vmax
usize
emax
usize