Lines Matching defs:node
95 Node *node = (*nodes)[i];
96 cout << "nodes[" << node->id << "]: ";
98 if (isSink(node)) { cout << "SINK"; }
100 for (unsigned j = 0; j < node->dests.size(); j++) { cout << node->dests[j] << " "; }
181 // set up this node as being visited.
191 // visit this node
200 // else just get the timestamp of the node we just visited
215 // this node is part of a cycle
226 bool CycleDetector::isSink(Node *node) {
229 if (node->dests.empty()) { return true; }