- Cleaned up heuristic code. Note that there is a "hidden" heuristic:
implicitly, older goals are resolved first, if some goals have equal weights. This is encoded in the "w <=" comparison; if this is set to "w <", the heuristic becomes much less effective.
This commit is contained in:
@@ -544,7 +544,7 @@ main (int argc, char **argv)
|
||||
if (switch_prune_trace_length->ival[0] >= 0)
|
||||
switches.maxtracelength = switch_prune_trace_length->ival[0];
|
||||
if (switch_goal_select_method->ival[0] >= 0)
|
||||
switches.arachneSelector = switch_goal_select_method->ival[0];
|
||||
switches.heuristic = switch_goal_select_method->ival[0];
|
||||
#ifdef DEBUG
|
||||
/* in debugging mode, some extra switches */
|
||||
if (switch_debug_indent->count > 0)
|
||||
|
||||
Reference in New Issue
Block a user