mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-23 23:58:15 -05:00
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.
12 lines
325 B
Bash
Executable File
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
|