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

Issue 6461087: issue344 introduced state handles

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 8 months ago by Florian
Modified:
11 years, 3 months ago
Visibility:
Public.

Description

issue344 introduced state handles

Patch Set 1 #

Total comments: 156

Patch Set 2 : Rewrote implementation of StateHandle #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+557 lines, -293 lines) Patch
M src/search/Makefile View 1 3 chunks +4 lines, -1 line 1 comment Download
M src/search/axioms.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/search/axioms.cc View 1 4 chunks +11 lines, -10 lines 0 comments Download
M src/search/eager_search.h View 1 chunk +1 line, -1 line 0 comments Download
M src/search/eager_search.cc View 1 12 chunks +28 lines, -24 lines 0 comments Download
M src/search/enforced_hill_climbing_search.h View 1 chunk +1 line, -1 line 0 comments Download
M src/search/enforced_hill_climbing_search.cc View 1 8 chunks +15 lines, -14 lines 0 comments Download
M src/search/globals.h View 2 chunks +7 lines, -0 lines 0 comments Download
M src/search/globals.cc View 1 4 chunks +19 lines, -2 lines 0 comments Download
M src/search/landmarks/landmark_status_manager.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/search/landmarks/landmark_status_manager.cc View 1 1 chunk +3 lines, -5 lines 0 comments Download
M src/search/lazy_search.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/search/lazy_search.cc View 1 6 chunks +14 lines, -18 lines 0 comments Download
M src/search/learning/probe_state_space_sample.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/search/pdbs/pattern_generation_haslum.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A src/search/per_state_information.h View 1 1 chunk +66 lines, -0 lines 0 comments Download
A src/search/per_state_information.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/search/search_node_info.h View 1 2 chunks +5 lines, -2 lines 0 comments Download
M src/search/search_space.h View 1 3 chunks +15 lines, -13 lines 0 comments Download
M src/search/search_space.cc View 1 8 chunks +41 lines, -61 lines 0 comments Download
M src/search/state.h View 1 2 chunks +25 lines, -17 lines 0 comments Download
M src/search/state.cc View 1 1 chunk +103 lines, -50 lines 0 comments Download
A src/search/state_handle.h View 1 1 chunk +89 lines, -0 lines 0 comments Download
A src/search/state_handle.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
R src/search/state_proxy.h View 1 chunk +0 lines, -64 lines 0 comments Download
R src/search/state_proxy.cc View 1 chunk +0 lines, -1 line 0 comments Download
A src/search/state_registry.h View 1 1 chunk +66 lines, -0 lines 0 comments Download
A src/search/state_registry.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 14
karpase
Hi Florian, Overall, this looks pretty good. I have a few minor comments, and also ...
11 years, 8 months ago (2012-08-16 09:00:04 UTC) #1
Malte
Hi everyone, so far I only read Erez's comments, not the actual code. Will be ...
11 years, 8 months ago (2012-08-17 14:12:31 UTC) #2
Malte
OK, I went over it. Looks very good! I only have one (slightly) major worry, ...
11 years, 8 months ago (2012-08-20 15:16:34 UTC) #3
Florian
Thanks for all your helpful comments. I did a first pass through them today and ...
11 years, 8 months ago (2012-08-30 16:38:32 UTC) #4
Malte
A few more replies to the replies. Looking good! http://codereview.appspot.com/6461087/diff/1/src/search/per_state_information.h File src/search/per_state_information.h (right): http://codereview.appspot.com/6461087/diff/1/src/search/per_state_information.h#newcode35 src/search/per_state_information.h:35: ...
11 years, 8 months ago (2012-08-30 18:35:54 UTC) #5
Florian
No need to read this, I just marked a few things as "Done." so I ...
11 years, 8 months ago (2012-08-31 08:49:29 UTC) #6
Florian
Started working on the ownership issue. Looks good so far, but its too big a ...
11 years, 8 months ago (2012-08-31 17:48:36 UTC) #7
karpase
I think this is starting to look really good. See a few responses below. On ...
11 years, 7 months ago (2012-09-02 07:30:01 UTC) #8
Florian
No need to read this. Marked some things as "Done" again. http://codereview.appspot.com/6461087/diff/1/src/search/per_state_information.h File src/search/per_state_information.h (right): ...
11 years, 7 months ago (2012-09-03 09:25:06 UTC) #9
Malte
Another short round of comments. http://codereview.appspot.com/6461087/diff/1/src/search/learning/probe_state_space_sample.cc File src/search/learning/probe_state_space_sample.cc (right): http://codereview.appspot.com/6461087/diff/1/src/search/learning/probe_state_space_sample.cc#newcode90 src/search/learning/probe_state_space_sample.cc:90: samp[s].resize(heuristics.size()); On 2012/08/31 17:48:36, ...
11 years, 7 months ago (2012-09-07 10:33:03 UTC) #10
Florian
As we discussed yesterday, here is a list of comment threads that are still open ...
11 years, 7 months ago (2012-09-27 09:48:55 UTC) #11
karpase
I don't have time to give this a thorough review right now. However, I did ...
11 years, 7 months ago (2012-09-28 08:54:13 UTC) #12
karpase
Hi Florian, Nice work indeed. I just had one meta-comment, which I don't really think ...
11 years, 7 months ago (2012-10-01 08:30:56 UTC) #13
malte.helmert
11 years, 3 months ago (2013-01-07 13:33:28 UTC) #14
This is in reply to the email I received on 2007-09-27 -- hope I didn't miss
anything in between.

Only one more comment this time, plus a reply to a comment for the email:

> * How to handle unregistered states: We have already
> discussed this in the comments. I'll tackle this together
> with your next batch of comments and publish a third
> patch set including it. I'll post another comment
> about it then.

My suggestion is to keep this as simple for now, e.g. only having a single
global state registry (if that's the simplest thing). If that breaks the
learning code (which I don't hope), we can refine the strategy later; we
shouldn't let that keep us from starting to merge the coe. I don't think it
should affect anything else, right?

https://codereview.appspot.com/6461087/diff/1/src/search/globals.cc
File src/search/globals.cc (right):

https://codereview.appspot.com/6461087/diff/1/src/search/globals.cc#newcode248
src/search/globals.cc:248: // state in the output format
On 2012/09/27 09:48:55, Florian wrote:
> Should I leave the TODO?

Output format changes are disruptive, so if there are multiple things we'd like
to change, it'd be good to change them at the same time. So I think instead of a
TODO in the code, it's better to open a tracker issue that collects suggested
changes for the next output format change. If you think this is a good idea,
please open such an issue and send a mail to downward-dev about it since it's of
general interest.
Sign in to reply to this message.

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