Commits

Shlomi Fish  committed f6acb74

Renamed a_star_initial_cards_under_sequences.

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

  • Participants
  • Parent commits ed46d6f

Comments (0)

Files changed (2)

File fc-solve/source/instance.h

                     /*
                      * The priority queue of the A* scan */
                     PQUEUE pqueue;
-                    double a_star_initial_cards_under_sequences;
+                    double initial_cards_under_sequences_value;
 
                     /*
                      * The A* weights of the different A* tests. Those weights

File fc-solve/source/scans.c

     {
         update_col_cards_under_sequences(soft_thread, fcs_state_get_col(*ptr_state_key, a), &cards_under_sequences);
     }
-    soft_thread->method_specific.befs.meth.befs.a_star_initial_cards_under_sequences = cards_under_sequences;
+    soft_thread->method_specific.befs.meth.befs.initial_cards_under_sequences_value = cards_under_sequences;
 }
 
 #undef TRACE0
         }
     }
 
-    ret += ((soft_thread->method_specific.befs.meth.befs.a_star_initial_cards_under_sequences - cards_under_sequences)
-            / soft_thread->method_specific.befs.meth.befs.a_star_initial_cards_under_sequences) * befs_weights[FCS_A_STAR_WEIGHT_CARDS_UNDER_SEQUENCES];
+    ret += ((soft_thread->method_specific.befs.meth.befs.initial_cards_under_sequences_value - cards_under_sequences)
+            / soft_thread->method_specific.befs.meth.befs.initial_cards_under_sequences_value) * befs_weights[FCS_A_STAR_WEIGHT_CARDS_UNDER_SEQUENCES];
 
     ret += (seqs_over_renegade_cards /
                FCS_SEQS_OVER_RENEGADE_POWER(LOCAL_DECKS_NUM*(13*4))