Solves a DemandProblem for the nodes asked for, finding the cycles as Tarjan's algorithm does while the values are computed: a node outside any cycle is computed once, the nodes of a cycle are computed round by round, in the order they were reached and each seeing the latest values, until a round changes nothing.
Solves a DemandProblem for the nodes asked for, finding the cycles as Tarjan's algorithm does while the values are computed: a node outside any cycle is computed once, the nodes of a cycle are computed round by round, in the order they were reached and each seeing the latest values, until a round changes nothing.