export LD_LIBRARY_PATH=../lib/

name=firewire_brtdp_dt
echo "Computing firewire BRDTP DT"
java -d64 -Xms400m -Xmx4G -jar ../prism_dectree.jar ../prism-examples/firewire/impl/firewire.nm ../prism-examples/firewire/impl/deadline.pctl -property 2 -const delay=50,deadline=300,fast=0.5 -dectree,search=100000,onlyTarget,multiLearn,train=1000,verify=1000,export=../output/csv/$name > ../output/txt/$name.txt
column -s "," -t < ../output/csv/$name.csv | awk 'NR==1 {print $1,$2,$3,$4}; END{ print $1,$2,$3,$4 }'

name=firewire_brtdp_bdd
echo "Computing firewire BRDTP BDD"
java -d64 -Xms400m -Xmx4G -jar ../prism_dectree.jar ../prism-examples/firewire/impl/firewire.nm ../prism-examples/firewire/impl/deadline.pctl -property 2 -const delay=50,deadline=300,fast=0.5 -dectree,bdd,onlyTarget,train=1000,productEval,export=../output/csv/$name > ../output/txt/$name.txt
column -s "," -t < ../output/csv/$name.csv | awk 'NR==1 {print $1,$2,$3,$4}; END{ print $1,$2,$3,$4 }'

name=firewire_prism_dt
echo "Computing firewire PRISM DT"
java -d64 -Xms400m -Xmx4G -jar ../prism_dectree.jar ../prism-examples/firewire/impl/firewire.nm ../prism-examples/firewire/impl/deadline.pctl -property 2 -const delay=50,deadline=300,fast=0.5 -dectree,stratasDTSim,onlyTarget,multiLearn,search=100000,train=1000,verify=1000,export=../output/csv/$name > ../output/txt/$name.txt
column -s "," -t < ../output/csv/$name.csv | awk 'NR==1 {print $1,$2,$3,$4}; END{ print $1,$2,$3,$4 }'

name=firewire_prism_bdd
echo "Computing firewire PRISM BDD"
java -d64 -Xms400m -Xmx10G -jar ../prism_dectree.jar ../prism-examples/firewire/impl/firewire.nm ../prism-examples/firewire/impl/deadline.pctl -property 2 -const delay=50,deadline=300,fast=0.5 -dectree,stratasDTSim,bdd,onlyTarget,train=1000,productEval,export=../output/csv/$name > ../output/txt/$name.txt
column -s "," -t < ../output/csv/$name.csv | awk 'NR==1 {print $1,$2,$3,$4}; END{ print $1,$2,$3,$4 }'
