#! /bin/csh -f # Last edited on 1999-05-18 01:05:40 by stolfi set usage = "$0 GRAPH TEAM SECONDS" # runs GraphDraw in A-team mode on the given graph. if ( $#argv != 3 ) then echo "usage = ${usage}"; exit 1 endif set graph = "$1"; shift; set team = "$1"; shift; set seconds = "$1"; shift; if ( $#argv != 0 ) then echo "usage: ${usage}"; exit 1 endif set dir = "${graph}-${team}-a" if ( ! ( -d ${dir} ) ) mkdir ${dir} /bin/rm -f ${dir}/????.{eps,his} /bin/rm -f ${dir}/score-?.eps if ( -r ${graph}.parms ) then source ${graph}.parms else echo "no ${graph}.parms, using defaults..." set maxxng = 50 set maxasc = 50 set maxbnd = 200 set maxlen = 500 endif ${STOLFIHOME}/programs/m3-3.6/MISC/GraphDraw/SOLgnu/GraphDraw \ -inName ${graph} \ -outDir ${dir} \ -maxTime ${seconds} \ -maxScore ${maxxng} ${maxasc} ${maxbnd} ${maxlen} \ -scale 0.80 \ -ateam -poolSize 10 \ `cat ${team}.prg | egrep -v '^[#]'`