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

Issue 4819063: issue211

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by Moritz
Modified:
13 years, 8 months ago
Reviewers:
Malte
Visibility:
Public.

Patch Set 1 #

Total comments: 91

Patch Set 2 : various fixes #

Total comments: 1

Patch Set 3 : some small changes: normalization decision, vector<->map decision in shrink_fh, consts #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1704 lines, -2150 lines) Patch
A new-scripts/configs_mas_mix.py View 1 chunk +13 lines, -0 lines 0 comments Download
M new-scripts/downward_configs.py View 1 2 1 chunk +2 lines, -2 lines 1 comment Download
M src/search/Makefile View 1 1 chunk +9 lines, -1 line 0 comments Download
M src/search/downward-seq-opt-fdss-1.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/search/downward-seq-opt-fdss-2.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/search/downward-seq-opt-merge-and-shrink.py View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M src/search/globals.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/search/globals.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download
M src/search/operator.h View 1 3 chunks +0 lines, -27 lines 0 comments Download
M src/search/operator.cc View 1 1 chunk +0 lines, -75 lines 0 comments Download
M src/search/option_parser.h View 1 4 chunks +18 lines, -2 lines 0 comments Download
M src/search/option_parser.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/search/option_parser_util.h View 1 4 chunks +19 lines, -4 lines 0 comments Download
M src/search/raz_abstraction.h View 1 7 chunks +16 lines, -76 lines 0 comments Download
M src/search/raz_abstraction.cc View 1 2 15 chunks +73 lines, -1436 lines 1 comment Download
M src/search/raz_mas_heuristic.h View 1 2 chunks +5 lines, -38 lines 0 comments Download
M src/search/raz_mas_heuristic.cc View 1 2 13 chunks +41 lines, -383 lines 0 comments Download
M src/search/raz_operator_registry.h View 1 1 chunk +18 lines, -15 lines 0 comments Download
M src/search/raz_operator_registry.cc View 1 5 chunks +25 lines, -31 lines 0 comments Download
M src/search/raz_variable_order_finder.h View 1 2 chunks +3 lines, -4 lines 0 comments Download
M src/search/raz_variable_order_finder.cc View 1 5 chunks +24 lines, -41 lines 0 comments Download
A src/search/shrink_bisimulation.h View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
A src/search/shrink_bisimulation.cc View 1 1 chunk +311 lines, -0 lines 0 comments Download
A src/search/shrink_bisimulation_base.h View 1 2 1 chunk +69 lines, -0 lines 1 comment Download
A src/search/shrink_bisimulation_base.cc View 1 1 chunk +127 lines, -0 lines 0 comments Download
A src/search/shrink_bucket_based.h View 1 1 chunk +33 lines, -0 lines 1 comment Download
A src/search/shrink_bucket_based.cc View 1 1 chunk +86 lines, -0 lines 0 comments Download
A src/search/shrink_dfp.h View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A src/search/shrink_dfp.cc View 1 1 chunk +282 lines, -0 lines 0 comments Download
A src/search/shrink_fh.h View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
A src/search/shrink_fh.cc View 1 2 1 chunk +192 lines, -0 lines 0 comments Download
A src/search/shrink_random.h View 1 1 chunk +20 lines, -0 lines 0 comments Download
A src/search/shrink_random.cc View 1 1 chunk +61 lines, -0 lines 0 comments Download
A src/search/shrink_strategy.h View 1 1 chunk +57 lines, -0 lines 0 comments Download
A src/search/shrink_strategy.cc View 1 chunk +41 lines, -0 lines 0 comments Download
M src/search/state.cc View 1 2 chunks +2 lines, -9 lines 0 comments Download
M src/search/utilities.h View 1 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 17
Moritz
http://codereview.appspot.com/4819063/diff/1/src/search/shrink_fh.cc File src/search/shrink_fh.cc (right): http://codereview.appspot.com/4819063/diff/1/src/search/shrink_fh.cc#newcode30 src/search/shrink_fh.cc:30: if(abs.max_f > max_vector_size) { I thought about using something ...
13 years, 8 months ago (2011-08-07 08:56:34 UTC) #1
Malte
First round of comments. http://codereview.appspot.com/4819063/diff/1/new-scripts/downward_configs.py File new-scripts/downward_configs.py (right): http://codereview.appspot.com/4819063/diff/1/new-scripts/downward_configs.py#newcode243 new-scripts/downward_configs.py:243: ("mas-2", "--search 'astar(mas(max_states=200000,merge_strategy=5,shrink_strategy=shrink_dfp(Enable_Greedy_Bisimulation)))'"), I suggest ...
13 years, 8 months ago (2011-08-12 14:47:04 UTC) #2
raznissim
Added comment regarding "abstraction_count == -2" http://codereview.appspot.com/4819063/diff/1/src/search/raz_mas_heuristic.cc File src/search/raz_mas_heuristic.cc (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_mas_heuristic.cc#newcode417 src/search/raz_mas_heuristic.cc:417: if (abstraction_count == ...
13 years, 8 months ago (2011-08-12 16:13:39 UTC) #3
Malte
http://codereview.appspot.com/4819063/diff/1/src/search/raz_mas_heuristic.cc File src/search/raz_mas_heuristic.cc (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_mas_heuristic.cc#newcode417 src/search/raz_mas_heuristic.cc:417: if (abstraction_count == -2) { OK, we should remove ...
13 years, 8 months ago (2011-08-12 16:17:40 UTC) #4
Moritz
Most of the comments will be addressed in the next patchset. http://codereview.appspot.com/4819063/diff/1/src/search/Makefile File src/search/Makefile (right): ...
13 years, 8 months ago (2011-08-12 21:04:20 UTC) #5
Moritz
http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.h File src/search/raz_abstraction.h (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.h#newcode216 src/search/raz_abstraction.h:216: On 2011/08/12 14:47:04, Malte wrote: > SuccessorSignature and Signature ...
13 years, 8 months ago (2011-08-13 08:53:52 UTC) #6
Malte
http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.h File src/search/raz_abstraction.h (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.h#newcode216 src/search/raz_abstraction.h:216: On 2011/08/13 08:53:52, Moritz wrote: > Is the following ...
13 years, 8 months ago (2011-08-13 09:20:16 UTC) #7
Moritz
http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.h File src/search/raz_abstraction.h (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.h#newcode216 src/search/raz_abstraction.h:216: On 2011/08/13 09:20:16, Malte wrote: > On 2011/08/13 08:53:52, ...
13 years, 8 months ago (2011-08-13 09:26:54 UTC) #8
Malte
Raz: these are mostly comments for Moritz, but there's a question for you included somewhere ...
13 years, 8 months ago (2011-08-14 18:45:07 UTC) #9
Moritz
On Sun, 2011-08-14 at 18:45 +0000, malte.helmert@googlemail.com wrote: > Moritz, the easiest thing for me ...
13 years, 8 months ago (2011-08-14 19:19:45 UTC) #10
raznissim
http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.cc File src/search/raz_abstraction.cc (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.cc#newcode438 src/search/raz_abstraction.cc:438: abs2->normalize(simplify_labels && !normalize_after_compostition); Seems we shouldn't call normalize here ...
13 years, 8 months ago (2011-08-14 19:27:33 UTC) #11
Malte
http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.cc File src/search/raz_abstraction.cc (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.cc#newcode394 src/search/raz_abstraction.cc:394: bool normalize_after_compostition) { typo: "compostition" => "composition". http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.cc#newcode438 src/search/raz_abstraction.cc:438: ...
13 years, 8 months ago (2011-08-14 19:34:23 UTC) #12
raznissim
http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.cc File src/search/raz_abstraction.cc (right): http://codereview.appspot.com/4819063/diff/1/src/search/raz_abstraction.cc#newcode438 src/search/raz_abstraction.cc:438: abs2->normalize(simplify_labels && !normalize_after_compostition); Fine by me. On 2011/08/14 19:34:23, ...
13 years, 8 months ago (2011-08-14 19:37:30 UTC) #13
Moritz
http://codereview.appspot.com/4819063/diff/1/new-scripts/downward_configs.py File new-scripts/downward_configs.py (right): http://codereview.appspot.com/4819063/diff/1/new-scripts/downward_configs.py#newcode243 new-scripts/downward_configs.py:243: ("mas-2", "--search 'astar(mas(max_states=200000,merge_strategy=5,shrink_strategy=shrink_dfp(Enable_Greedy_Bisimulation)))'"), On 2011/08/12 14:47:04, Malte wrote: > ...
13 years, 8 months ago (2011-08-15 11:57:24 UTC) #14
Malte
One more small change suggestion. http://codereview.appspot.com/4819063/diff/17003/src/search/shrink_fh.cc File src/search/shrink_fh.cc (right): http://codereview.appspot.com/4819063/diff/17003/src/search/shrink_fh.cc#newcode32 src/search/shrink_fh.cc:32: if(abs.max_f > abs.num_states) { ...
13 years, 8 months ago (2011-08-17 08:15:41 UTC) #15
Malte
Looks good! No substantial comments. I'm still digging through the shrink code, but I'm hopeful ...
13 years, 8 months ago (2011-08-17 11:13:21 UTC) #16
Malte
13 years, 8 months ago (2011-08-17 12:25:10 UTC) #17
http://codereview.appspot.com/4819063/diff/29001/src/search/shrink_bucket_bas...
File src/search/shrink_bucket_based.h (right):

http://codereview.appspot.com/4819063/diff/29001/src/search/shrink_bucket_bas...
src/search/shrink_bucket_based.h:23: virtual std::string description() const =
0;
Small note: in derived classes, we usually don't include methods in the header
file that don't have an implementation in this class (these four methods don't
have implementations in ShrinkBucketBased).

I'm currently making some small refactorings to the shrink* code and will take
care of this, so no need for action on your side.
Sign in to reply to this message.

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