15 # ifndef SEARCH_MEMORY_LEAKS_ENABLED
16 # error SEARCH NOT ENABLED
18 # define new DEBUG_NEW
20 static char THIS_FILE[] = __FILE__;
85 list<edge>::iterator
tmp =
101 list<edge>::iterator back_pos =
103 list<edge>::iterator forward_pos =
125 if (!
pf.
back[n].empty()) {
133 }
else if (!
pf.
tree[n].empty()) {
156 list<edge>::iterator
tmp;
166 tmp = pf.to_father[curr];
167 curr = curr.opposite (*tmp);
168 pf.tree[curr].erase (tmp);
179 tmp = pf.to_low[curr];
184 pf.forward[opp].erase (pf.pos[adj].first);
185 pf.back[curr].erase (tmp);
188 pf.tree[curr].erase (tmp);
221 return pf->is_valid() ? GTL_OK : GTL_ERROR;
236 list<node>::iterator
pos;
239 st_num[
tmp] = act_st++;
240 st_ord.push_back(tmp);
248 pos = order.insert (pos, *it);
257 st_ord.push_back (t);