Skip to main content

sides

Function sides 

Source
fn sides(
    n: usize,
    out: &[Vec<(usize, Option<&str>)>],
    roots: &[usize],
    conditions: &[usize],
) -> BTreeMap<usize, Vec<Option<bool>>>
Expand description

For each Condition, which side of it a block is on: Some(true) when only the true branch leads to it, Some(false) for only false, else None. A block reachable from the start without passing the Condition is on neither.