You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
352 B
Bash

#!/bin/sh -ex
if [ $# -ne 3 ]; then
echo usage: $0 order.xml packlist.xml scoring.xml
exit 1
fi
rm -f score_max
python bruteforce2.py $1 | sort -r | xargs --max-procs=4 --max-args=1 python bruteforce3.py $1 $2 $3
mv $2 $2.tmp
xmllint --output $2 --format $2.tmp
rm -f $2.tmp
echo palletViewer -o $1 -p $2 -s $3
echo python evaluate.py $1 $2 $3