Makefile 6.68 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;
	
paredespenafiel:
	(time java $(JFLAGS) MainRegion 50 res Paiva 1 0 Single) &>> Times/results;
	
specif:
	(time java $(JFLAGS) MainWithSpecific 50 res 0 Single) &>> Times/results;
	
specifMulti:
	(time java $(JFLAGS) MainWithSpecific 50 res 0 Multi) &>> 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


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;

distFrom870:
	(time java $(JFLAGS) MainDistance 50 res 780 1000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 780 1000
	(time java $(JFLAGS) MainDistance 50 res 780 2000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 780 2000
	(time java $(JFLAGS) MainDistance 50 res 780 3000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 780 3000
	(time java $(JFLAGS) MainDistance 50 res 780 4000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 780 4000
	(time java $(JFLAGS) MainDistance 50 res 780 5000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 780 5000
	(time java $(JFLAGS) MainDistance 50 res 780 6000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 780 6000
	(time java $(JFLAGS) MainDistance 50 res 780 7000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 780 7000
	
distFrom1120:
	(time java $(JFLAGS) MainDistance 50 res 1120 1000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 1000
	(time java $(JFLAGS) MainDistance 50 res 1120 2000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 2000
	(time java $(JFLAGS) MainDistance 50 res 1120 3000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 3000
	(time java $(JFLAGS) MainDistance 50 res 1120 4000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 4000
	(time java $(JFLAGS) MainDistance 50 res 1120 5000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 5000
	(time java $(JFLAGS) MainDistance 50 res 1120 6000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 6000
	(time java $(JFLAGS) MainDistance 50 res 1120 7000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 7000
	(time java $(JFLAGS) MainDistance 50 res 1120 8000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 8000
	(time java $(JFLAGS) MainDistance 50 res 1120 9000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 9000
	(time java $(JFLAGS) MainDistance 50 res 1120 10000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 10000
	(time java $(JFLAGS) MainDistance 50 res 1120 11000 0 Single) &>> Times/distanceTimes;
	python3 distanceMaps.py 1120 7000
	
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