| 297 | } |
| 298 | |
| 299 | std::vector<ScanEdge*> ScanGraph::getInEdges(ScanNode* node) { |
| 300 | std::vector<ScanEdge*> res; |
| 301 | if (node) { |
| 302 | for (std::vector<ScanEdge*>::iterator it = edges.begin(); it != edges.end(); it++) { |
| 303 | if ((*it)->second == node) { |
| 304 | res.push_back(*it); |
| 305 | } |
| 306 | } |
| 307 | } |
| 308 | return res; |
| 309 | } |
| 310 | |
| 311 | void ScanGraph::transformScans() { |
| 312 | for(ScanGraph::iterator it=this->begin(); it != this->end(); it++) { |