Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(158)

Issue 4045041: changes in alternation search for issue206

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 11 months ago by Malte
Modified:
14 years, 11 months ago
Reviewers:
roeger, Gabi
Visibility:
Public.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -14 lines) Patch
M src/search/general_eager_best_first_search.cc View 1 chunk +8 lines, -6 lines 0 comments Download
M src/search/heuristic.cc View 2 chunks +18 lines, -1 line 0 comments Download
M src/search/open_lists/alternation_open_list.cc View 3 chunks +16 lines, -7 lines 2 comments Download

Messages

Total messages: 2
Malte
Hi Gabi, here's an aspect of the fix for issue206 that I would like you ...
14 years, 11 months ago (2011-01-16 17:35:36 UTC) #1
Gabi
14 years, 11 months ago (2011-01-17 14:32:53 UTC) #2
http://codereview.appspot.com/4045041/diff/1/src/search/open_lists/alternatio...
File src/search/open_lists/alternation_open_list.cc (right):

http://codereview.appspot.com/4045041/diff/1/src/search/open_lists/alternatio...
src/search/open_lists/alternation_open_list.cc:71: new_entries +=
open_lists[i]->insert(entry);
On 2011/01/16 17:35:37, Malte wrote:
> I added the dead-end check here so that if open list i considers this state as
a
> dead end, it won't be added to that open list. 

The original idea is that the sub-openlists ignore the insert request when they
regard the node as dead end. The simple open lists actually do this but for
example Pareto and Tiebreaking do not implement this as intended.

> But I'm not confident that
> is_dead_end() will always think about the correct state here, i.e., that it
will
> be in the right context. Is this assured? If yes, why?

This must be ensured by the search algorithm by calling evaluate with the
correct state (directly) before. We definitely should think more concretely
about something like an evaluation context to ensure this.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b