Searched refs:edge (Results 1 – 2 of 2) sorted by relevance
69 let edge = self.nodes[index].edges[i]; in topological_sort() localVariable70 self.nodes[edge].incoming_edges.retain(|&x| x != index); in topological_sort()71 if self.nodes[edge].incoming_edges.len() == 0 { in topological_sort()72 stack.push(edge); in topological_sort()
71 let edge = self.nodes[index].edges[i]; in topological_sort() localVariable72 self.nodes[edge].incoming_edges.retain(|&x| x != index); in topological_sort()73 if self.nodes[edge].incoming_edges.len() == 0 { in topological_sort()74 stack.push(edge); in topological_sort()