Makefile 5.51 KB
DISTS = {1000..3000..1000}
CHOCO_HOME = $(HOME)/IdeaProjects/Modfire/modfire/MODFIRE-Prototype
CHOCO_HOME = .
CHOCO = $(CHOCO_HOME)/$(wildcard choco-solver-4.*-jar-with-dependencies.jar)
CLASSES = $(shell find -name \*.class | sed -e 's;[^/]*$$;;' | sort -u | tr '\n' :)
JFLAGS = -cp $(CHOCO):$(CLASSES)

all: make

make: 	
	(time java $(JFLAGS) GetInput 50 res 200 0 MULTI) &>> Times/results;


paredes:
	(time java $(JFLAGS) MainRegion 50 res Paredes 0 0 MULTI) &>> Times/results;

paiva:
	(time java $(JFLAGS) MainRegion 50 res Paiva 0 0 MULTI) &>> Times/results;
	
penafiel:
	(time java $(JFLAGS) MainRegion 50 res Penafiel 0 0 SINGLE) &>> Times/results;
	
paivaS:
	(time java $(JFLAGS) MainRegion 71 res Paiva 0 0 SINGLE) &>> Times/results;

distFrom0:
	(time java $(JFLAGS) MainDistance 50 res 0 1000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 1000
	(time java $(JFLAGS) MainDistance 50 res 0 2000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 2000
	(time java $(JFLAGS) MainDistance 50 res 0 3000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 3000
	(time java $(JFLAGS) MainDistance 50 res 0 4000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 4000
	(time java $(JFLAGS) MainDistance 50 res 0 5000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 5000
	(time java $(JFLAGS) MainDistance 50 res 0 6000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 6000
	(time java $(JFLAGS) MainDistance 50 res 0 7000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 7000
	(time java $(JFLAGS) MainDistance 50 res 0 8000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 8000
	(time java $(JFLAGS) MainDistance 50 res 0 9000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 9000
	(time java $(JFLAGS) MainDistance 50 res 0 10000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 10000
	(time java $(JFLAGS) MainDistance 50 res 0 11000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 11000
	(time java $(JFLAGS) MainDistance 50 res 0 12000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 12000
	(time java $(JFLAGS) MainDistance 50 res 0 13000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 13000

distFrom02:
	(time java $(JFLAGS) MainDistance 50 res 0 14000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 14000
	(time java $(JFLAGS) MainDistance 50 res 0 15000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 15000
	(time java $(JFLAGS) MainDistance 50 res 0 16000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 0 16000

distFrom738:
	(time java $(JFLAGS) MainDistance 50 res 738 1000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 1000
	(time java $(JFLAGS) MainDistance 50 res 738 2000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 2000
	(time java $(JFLAGS) MainDistance 50 res 738 3000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 3000
	(time java $(JFLAGS) MainDistance 50 res 738 4000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 4000
	(time java $(JFLAGS) MainDistance 50 res 738 5000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 5000
	(time java $(JFLAGS) MainDistance 50 res 738 6000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 6000
	(time java $(JFLAGS) MainDistance 50 res 738 7000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 7000
	(time java $(JFLAGS) MainDistance 50 res 738 8000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 8000
	(time java $(JFLAGS) MainDistance 50 res 738 9000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 9000
	(time java $(JFLAGS) MainDistance 50 res 738 10000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 10000
	(time java $(JFLAGS) MainDistance 50 res 738 11000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 11000
	(time java $(JFLAGS) MainDistance 50 res 738 12000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 12000
	(time java $(JFLAGS) MainDistance 50 res 738 13000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 738 13000
	
ugLimit:
	(time java $(JFLAGS) MainLimit 50 res 100 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 100
	(time java $(JFLAGS) MainLimit 50 res 200 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 200
	(time java $(JFLAGS) MainLimit 50 res 300 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 300
	(time java $(JFLAGS) MainLimit 50 res 400 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 400
	(time java $(JFLAGS) MainLimit 50 res 500 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 500
	(time java $(JFLAGS) MainLimit 50 res 600 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 600
	(time java $(JFLAGS) MainLimit 50 res 700 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 700
	(time java $(JFLAGS) MainLimit 50 res 800 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 800
	(time java $(JFLAGS) MainLimit 50 res 900 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 900
	(time java $(JFLAGS) MainLimit 50 res 1000 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 1000
	(time java $(JFLAGS) MainLimit 50 res 1100 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 1100
	(time java $(JFLAGS) MainLimit 50 res 1200 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 1200
	(time java $(JFLAGS) MainLimit 50 res 1300 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 1300
	(time java $(JFLAGS) MainLimit 50 res 1500 0 Single) &>> Times/results;
	python3 ugLimitMaps.py 1500