Moore Hodgson in Rust
An implementation of the Moore-Hudgson algorithm within no_std rust.
The Moore-Hudgson algorithm is a scheduling algorithm that minimizes the amount of late jobs.
It provides a single function moore_hodgson, that performs the algorithm.
Examples
use moore_hodgson;
let mut jobs = ;
let nr_of_on_time_jobs = moore_hodgson;
assert_eq!;
// jobs = [
// (BuyPresentForMom, 4, 1),
// (ApplyForJob, 6, 5),
// (FileTaxes, 7, 1),
// (ApplyForLoan, 8, 3),
// (SolveUrgentProblem, 6, 4),
// ]
License
Licensed under a MIT license.