#!/bin/bash

# Domain Logistics:
rm *~
rm generate
rm temp

LOCATIONS="2 3 4"
CITIES="2 3 4"

cc generate.c -o generate

for l in $LOCATIONS; do
	for c in $CITIES; do
	if test -f prob_${l}_${c}_${c} 
	then
	    echo "Generating LOGISTICS($l,$c,$c)"
    		generate $l $c > temp
		cat temp prob_${l}_${c}_${c} > logistics_${l}_${c}_${c}.al
	fi
	done
done

