pub fn always_infinity(cch: &CCH) -> Customized<CCH> {
    let m = cch.num_arcs();
    // buffers for the customized weights
    let mut upward_weights = vec![INFINITY; m];
    let mut downward_weights = vec![INFINITY; m];

    prepare_zero_weights(cch, &mut upward_weights, &mut downward_weights);

    customize_basic(cch, upward_weights, downward_weights)
}
/// Customize with zero metric.
/// Edges that have weight infinity after customization will have this weight
/// for every metric and can be removed.
Customize with zero metric.
Edges that have weight infinity after customization will have this weight
for every metric and can be removed.
Customize with zero metric . Edges that have weight infinity after customization will have this weight for every metric and can be removed .
pub fn always_infinity(cch: &CCH) -> Customized<CCH> {
    let m = cch.num_arcs();
    // buffers for the customized weights
    let mut upward_weights = vec![INFINITY; m];
    let mut downward_weights = vec![INFINITY; m];
    prepare_zero_weights(cch, &mut upward_weights, &mut downward_weights);
    customize_basic(cch, upward_weights, downward_weights)
}
pub fn always_infinity ( cch : & CCH ) -> Customized < CCH > { let m = cch . num_arcs ( ) ; // buffers for the customized weights let mut upward_weights = vec ! [ INFINITY m ] ; let mut downward_weights = vec ! [ INFINITY m ] ; prepare_zero_weights ( cch , & mut upward_weights , & mut downward_weights ) ; customize_basic ( cch , upward_weights , downward_weights ) }
Customize with zero metric.
Customize with zero metric .
cch
&CCH
cch
&CCH