Files
astronomy/generate/hunt
Don Cross cb5f4fd998 TOP2013: found better solution using new script 'hunt'.
winner:   0.998305 arcmin :    228 [     37     63     60     58      6      4]

This script keeps running the ray search followed by the nudge search.
If it finds a better solution that the existing one, it replaces it.
Found the above solution after about 30 minutes.
2020-07-05 17:46:46 -04:00

12 lines
325 B
Bash
Executable File

#!/bin/bash
while true; do
./generate top Pluto pluto.top || exit $?
./generate topnudge Pluto pluto.top better.top || exit $?
ls -l better.top output/8.top
if [[ $(stat -c%s better.top) < $(stat -c%s output/8.top) ]]; then
echo "FOUND BETTER SOLUTION"
mv better.top output/8.top
fi
done