2012-05-08 08:01:10 +00:00
|
|
|
#!/bin/sh -ex
|
|
|
|
|
2012-05-15 01:24:24 +00:00
|
|
|
if [ $# -ne 3 ]; then
|
|
|
|
echo usage: $0 order.xml packlist.xml scoring.xml
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2012-05-08 08:01:10 +00:00
|
|
|
rm -f score_max
|
|
|
|
|
2012-05-15 13:39:47 +00:00
|
|
|
python bruteforce2.py $1 | sort -r | xargs --max-procs=4 --max-args=1 python bruteforce3.py $1 $2 $3
|
2012-05-15 01:24:24 +00:00
|
|
|
|
2012-05-15 22:57:13 +00:00
|
|
|
mv $2 $2.tmp
|
|
|
|
xmllint --output $2 --format $2.tmp
|
|
|
|
rm -f $2.tmp
|
|
|
|
|
2012-05-15 01:24:24 +00:00
|
|
|
echo palletViewer -o $1 -p $2 -s $3
|
2012-05-08 08:01:10 +00:00
|
|
|
|
2012-05-15 01:24:24 +00:00
|
|
|
echo python evaluate.py $1 $2 $3
|