Skip to main content

linear_sum_assignment

Function linear_sum_assignment 

Source
pub fn linear_sum_assignment<T: Cost>(
    m: MatrixView<'_, T>,
    sense: Sense,
) -> Result<LapSolution<T::Acc>, LapError>
Expand description

Solve one LAP. Use LapSolver to reuse buffers across many calls.