#!/bin/sh
# Soul purpose of creating some descent graphs next to eachother to
# compare results of owen GA and Neato (graphviz) output

INPUT=${1:-input.txt}

./ga $INPUT > ga.dot &&  neato -n2 -Tpng -o ga.png ga.dot
./array2dot.pl $INPUT | neato -Tpng -o neato.png
montage -geometry +1+2 -label "Neato" neato.png -label "GA" ga.png png:final.png
