Skip to main content

min_path_excluding2

Function min_path_excluding2 

Source
pub fn min_path_excluding2(
    mol: &Molecule,
    start: NodeIndex,
    target: NodeIndex,
    excl1: NodeIndex,
    excl2: NodeIndex,
    limit: usize,
) -> Option<usize>
Expand description

BFS shortest path from start to target, excluding two intermediate nodes.