Skip to main content

CalcCostLPBiDir

Function CalcCostLPBiDir 

Source
pub unsafe extern "C" fn CalcCostLPBiDir(
    costs: *mut *mut c_void,
    flow: c_long,
    arcrow: c_long,
    arccol: c_long,
    nflow: c_long,
    nrow: c_long,
    params: *mut paramT,
    poscostptr: *mut c_long,
    negcostptr: *mut c_long,
)
Expand description

Calculates the Lp arc cost given an array of bidirectional cost weights.