https://1library.org/document/yev5jlk7-algorithms-determining-node-disjoint-path-visiting-speciļ¬ed-nodes.html