13 # ifndef SEARCH_MEMORY_LEAKS_ENABLED
14 # error SEARCH NOT ENABLED
16 # define new DEBUG_NEW
18 static char THIS_FILE[] = __FILE__;
33 for (; it !=
end; ++
it) {
53 self.erase (
self.
begin(),
self.
end());
62 for (; it !=
end; ++
it) {
202 for (; n_it != n_end; ++n_it) {
204 os <<
"[" << st[
n] <<
"]::";
209 for (; it !=
end; ++
it) {
210 os <<
"[" << st[n.
opposite (*it)] <<
"]";
216 os <<
"SELFLOOPS:" << endl;
217 list<edge>::iterator e_it, e_end;
218 for (e_it =
self.
begin(), e_end =
self.
end(); e_it != e_end; ++e_it) {
219 os << st[(*e_it).source()] <<
"---" << st[(*e_it).target()] << endl;
222 os <<
"MULTIPLE EDGES:" << endl;
223 for (e_it =
multi.begin(), e_end =
multi.end(); e_it != e_end; ++e_it) {
224 os << st[(*e_it).source()] <<
"---" << st[(*e_it).target()] << endl;
234 for (; n_it != n_end; ++n_it) {
238 it = em.
adj[
n].begin();
239 end = em.
adj[
n].end();
241 for (; it !=
end; ++
it) {
242 os << n.opposite (*it) <<
"*";
248 os <<
"SELFLOOPS:" << endl;
249 list<edge>::iterator e_it, e_end;
250 for (e_it = em.
self.begin(), e_end = em.
self.end(); e_it != e_end; ++e_it) {
254 os <<
"MULTIPLE EDGES:" << endl;
255 for (e_it = em.
multi.begin(), e_end = em.
multi.end(); e_it != e_end; ++e_it) {