Lines Matching refs:graph
287 vector<node*> graph;
290 graph.push_back(u);
304 while(!graph.empty()) {
306 vector<node*>::iterator i=graph.begin();
307 for(;i!=graph.end();++i) {
313 if(i==graph.end() && !graph.empty()) {
317 graph.erase(i);
325 for(unsigned i=0; i<graph.size(); ++i) {
326 delete graph[i];
334 vector<node*> graph;
338 graph.push_back(u);
361 while(!graph.empty()) {
363 vector<node*>::iterator i=graph.begin();
364 for(;i!=graph.end();++i) {
370 if(i==graph.end() && !graph.empty()) {
374 graph.erase(i);
382 for(unsigned i=0; i<graph.size(); i++) {
383 delete graph[i];