5 releases

Uses old Rust 2015

0.2.1 Sep 1, 2021
0.2.0 Nov 2, 2020
0.1.2 Feb 21, 2019
0.1.1 Jul 16, 2018
0.1.0 Mar 13, 2018

#1966 in Algorithms

Download history 102/week @ 2024-04-08 44/week @ 2024-04-15 68/week @ 2024-04-22 51/week @ 2024-04-29 60/week @ 2024-05-06 105/week @ 2024-05-13 75/week @ 2024-05-20 80/week @ 2024-05-27 109/week @ 2024-06-03 58/week @ 2024-06-10 18/week @ 2024-06-17 49/week @ 2024-06-24 68/week @ 2024-07-01 85/week @ 2024-07-08 83/week @ 2024-07-15 237/week @ 2024-07-22

474 downloads per month

MIT license

22KB
535 lines

lapjv

Crates.io Crates.io Build Status

## Linear Assignment Problem solver using Jonker-Volgenant algorithm

This is rust implementation of the Jonker-Volgenant algorithm for linear assignment problem

Example usage:

use lapjv::lapjv;

let m = Matrix::from_shape_vec((3, 3), vec![1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]).unwrap();
let result = lapjv(&m).unwrap();
assert_eq!(result.0, vec![2, 0, 1]);
assert_eq!(result.1, vec![1, 2, 0]);

Dependencies

~1.5MB
~27K SLoC