Commits

Shlomi Fish  committed 5d8d9e4

Now dumping the queue.

TODO : dump the moves for each state.

git-svn-id: file:///home/shlomif/Backup/svn-dumps/google-code/svnsync-repos/fc-solve/fc-solve/trunk@4540 e7e8a897-7ba4-4ee7-b36f-f4c66519b19a

  • Participants
  • Parent commits e5da62d

Comments (0)

Files changed (1)

File fc-solve/source/dbm_solver.c

     else if (instance.queue_should_terminate)
     {
         printf ("%s\n", "Intractable.");
+        {
+            fcs_dbm_queue_item_t * item;
+
+            for (
+                item = instance.queue_head ;
+                item ;
+                item = item->next
+                )
+            {
+                int i;
+                for (i=0; i < item->key.s[0] ; i++)
+                {
+                    printf("%.2X", (int)item->key.s[1 + i]);
+                }
+                printf ("%s", ";");
+                printf ("\n");
+            }
+        }
     }
     else
     {