Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f907b99
fixing bugs. case 5 runs. hits infinite loop
connoralittle Sep 3, 2024
fc5b6f5
resize is needed not reserve
connoralittle Sep 4, 2024
ffd6f0b
templated policies, tentatively working. next step is matched_step
connoralittle Sep 9, 2024
094bdfa
continued bug squashing
connoralittle Sep 25, 2024
56aabce
I think this is the root source of many bugs. This variable is used b…
connoralittle Sep 25, 2024
590631b
decoupled outcome to name. Now on order recieved.
connoralittle Sep 25, 2024
e68d795
visualize runs with an off by 1 error
connoralittle Nov 12, 2024
651cf52
visualize works again properly
connoralittle Nov 14, 2024
9aff1f4
pr2 search works!
connoralittle Nov 18, 2024
6d109b6
various fixes while searching for blowup
connoralittle Jan 2, 2025
1c00802
New versions of the sub-modules.
haz Jan 2, 2025
9b07ac0
Mirror the latest of the core.
haz Jan 2, 2025
5789b28
Hush now.
haz Jan 6, 2025
31c6d24
Put the logging checks in the right place.
haz Jan 6, 2025
d734917
Fixing some nasty bugs with heuristic logging.
haz Jan 6, 2025
ab172f9
Fixed a goal bug, but still stuck.
haz Jan 6, 2025
dc8febc
Merge pull request #1 from haz/main
connoralittle Jan 6, 2025
960f707
off by 1
connoralittle Jan 6, 2025
8a57d39
Fixing some memory issues caught by memcache.
haz Jan 8, 2025
b97bb3d
Merge pull request #2 from haz/main
connoralittle Jan 8, 2025
ee53234
Couple more memory optimizations.
haz Jan 8, 2025
060dd9a
heuristic search works now
connoralittle Jan 8, 2025
e5055a1
cleaned up previous push
connoralittle Jan 8, 2025
2696126
Merge pull request #3 from haz/main
connoralittle Jan 8, 2025
3bf5fe7
rearranged again
connoralittle Jan 8, 2025
9422522
Merge branch 'main' of https://github.com/connoralittle/pr2_new
connoralittle Jan 8, 2025
934dfa3
Reverting memleak fix.
haz Jan 8, 2025
03da6ee
Merge pull request #4 from haz/main
connoralittle Jan 8, 2025
6b20bbe
various bug fixes
connoralittle Mar 27, 2025
c0efa76
various bug fixes. I believe forest should work now. Speed up in comb…
connoralittle Aug 25, 2025
519dbca
cleaned up needless changes
connoralittle Aug 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fond-domains
Submodule fond-domains updated 112 files
21 changes: 13 additions & 8 deletions pr2
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
set -e

# Settings
BASEDIR="$(dirname "$0")/core/downward"
DEBUG_BUILD="debug64"
RELEASE_BUILD="release64"
BASEDIR_SAMPLE="$(dirname "$0")"
BASEDIR="${BASEDIR_SAMPLE}/core/downward"
DEBUG_BUILD="debug"
RELEASE_BUILD="release"

MAXWIDTH=5
INV_TIME_LIMIT="300"
Expand Down Expand Up @@ -101,7 +102,7 @@ function run {
shift
else
# checks if there are any symmetries to play with
timeout "$OBJ_SAMPLE_CHECK_LIMIT" bash -c "python $BASEDIR/pr2-scripts/sample_objects.py --domain $1 --problem $2 --output object-sampled-problem.pddl --sample -1 > object-sampled-output.txt" || true
timeout "$OBJ_SAMPLE_CHECK_LIMIT" bash -c "python $BASEDIR_SAMPLE/pr2-scripts/sample_objects.py --domain $1 --problem $2 --output object-sampled-problem.pddl --sample -1 > object-sampled-output.txt" || true

if grep -q "True" object-sampled-output.txt; then

Expand All @@ -112,9 +113,9 @@ function run {
# Iterate over the object sampling indices
for i in ${!OBJ_SAMPLE_RATES[@]}; do
echo "Testing with ${OBJ_SAMPLE_RATES[$i]} symmetric objects for a max of ${OBJ_SAMPLE_TIMES[$i]} seconds..."
python $BASEDIR/pr2-scripts/sample_objects.py --domain "$1" --problem "$2" --output object-sampled-problem.pddl --sample "${OBJ_SAMPLE_RATES[$i]}"
python $BASEDIR_SAMPLE/pr2-scripts/sample_objects.py --domain "$1" --problem "$2" --output object-sampled-problem.pddl --sample "${OBJ_SAMPLE_RATES[$i]}"

timeout "${OBJ_SAMPLE_TIMES[$i]}" bash -c "$BASEDIR/pr2 --disable-object-sampling $1 object-sampled-problem.pddl --final-fsap-free-round 0 ${@:3} > object-sampled-subsolve.txt 2>&1" || true
timeout "${OBJ_SAMPLE_TIMES[$i]}" bash -c "$BASEDIR_SAMPLE/pr2 --disable-object-sampling $1 object-sampled-problem.pddl --final-fsap-free-round 0 ${@:3} > object-sampled-subsolve.txt 2>&1" || true

if grep -Fxq "Strong cyclic solution found." object-sampled-subsolve.txt
then
Expand All @@ -135,8 +136,12 @@ function run {
rm -f object-sampled-*
fi

$FD --translate $1 $2 --translate-options --keep-unimportant-variables --invariant-generation-max-time $INV_TIME_LIMIT

echo determinizing domain
fond-utils determinize --input $1 --output determinized-domain.pddl --suffix-domain ""
$FD --translate determinized-domain.pddl $2 --translate-options --keep-unimportant-variables --invariant-generation-max-time $INV_TIME_LIMIT
shift 2
rm determinized-domain.pddl

set -e
$FD$OPT output.sas --search "pr2search()" "$@" || true
Expand Down Expand Up @@ -214,4 +219,4 @@ else
run "$@"
fi

exit 0
exit 0
Loading