Skip to main content

check

Function check 

Source
pub fn check(
    nodes: usize,
    supply: &[i64],
    arcs: &[Arc],
    solution: &Solution,
) -> bool
Expand description

Whether solution is the problem’s answer, by its certificate alone.