Skip to main content

CalcCostLP

Function CalcCostLP 

Source
pub unsafe extern "C" fn CalcCostLP(
    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 distance given an array of short integer weights.