13 # ifndef SEARCH_MEMORY_LEAKS_ENABLED
14 # error SEARCH NOT ENABLED
16 # define new DEBUG_NEW
18 static char THIS_FILE[] = __FILE__;
43 pq_node (n_, id_), child_count (0), partial_count (0), full_count (0)
50 for (; it !=
end; ++
it) {
52 (*it)->is_endmost =
true;
85 os <<
"node [\n" <<
"id " << _id << endl;
86 os <<
"label \"" <<
id <<
"\nP" <<
"\"\n";
87 os <<
"graphics [\n" <<
"x 100\n" <<
"y 100\n";
89 os <<
"outline \"#0000ff\"\n";
91 os <<
"outline \"#ff0000\"\n";
93 os <<
"type \"oval\"\n" <<
"]" << endl;
94 os <<
"LabelGraphics [\n";
95 os <<
"type \"text\"\n]\n]" << endl;
141 int pert_block_count = 1;
148 if ((*tmp)->kind () !=
DIR) {
166 if ((*tmp)->kind () !=
DIR) {
226 if ((*tmp)->mark ==
UNBLOCKED && (*tmp)->kind () !=
DIR) {
246 if ((*tmp)->mark ==
UNBLOCKED && (*tmp)->kind () !=
DIR) {
280 os <<
"node [\n" <<
"id " << _id << endl;
281 os <<
"label \"" <<
id <<
"\n" <<
"Q" <<
"\"\n";
282 os <<
"graphics [\n" <<
"x 100\n" <<
"y 100 \n";
284 os <<
"outline \"#0000ff\"\n";
286 os <<
"outline \"#ff0000\"\n";
289 os <<
"LabelGraphics [\n";
290 os <<
"type \"text\"\n]\n]" << endl;
302 part->sons.back()->father =
this;
303 part->sons.front()->is_endmost =
false;
305 part->sons.front()->is_endmost =
false;
306 part->sons.back()->is_endmost =
false;
309 sons.
splice (it, part->sons.begin(), part->sons.end());
337 os <<
"node [\n" <<
"id " << _id << endl;
338 os <<
"label \"" <<
other_id <<
"\n" <<
id <<
"\"\n";
339 os <<
"graphics [\n" <<
"x 100\n" <<
"y 100 \n";
341 os <<
"outline \"#0000ff\"\n";
343 os <<
"outline \"#ff0000\"\n";
346 os <<
"LabelGraphics [\n";
347 os <<
"type \"text\"\n]\n]" << endl;
353 os <<
"node [\n" <<
"id " << _id << endl;
354 os <<
"label \"DIR\n" <<
id <<
"\"\n";
355 os <<
"graphics [\n" <<
"x 100\n" <<
"y 100 \n";
357 os <<
"outline \"#0000ff\"\n";
359 os <<
"outline \"#ff0000\"\n";
362 os <<
"LabelGraphics [\n";
363 os <<
"type \"text\"\n]\n]" << endl;