export LD_LIBRARY_PATH=../lib/

name=investor_prism_dt
echo "Computing investor PRISM DT"
java -d64 -Xms400m -Xmx4G -jar ../prism_dectree.jar ../prism-examples/investor/investor_mdp.prism ../prism-examples/investor/investor.props -property 5 -const vmax=20,vinit=0 -dectree,search,learn=0,stratasDTSim,onlyTarget,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=investor_prism_bdd
echo "Computing investor PRISM BDD"
java -d64 -Xms400m -Xmx4G -jar ../prism_dectree.jar ../prism-examples/investor/investor_mdp.prism ../prism-examples/investor/investor.props -property 5 -const vmax=20,vinit=0 -dectree,stratasDTSim,bdd,onlyTarget,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=investor_brtdp_dt
echo "Computing investor BRTDP DT"
java -d64 -Xms400m -Xmx4G -jar ../prism_dectree.jar ../prism-examples/investor/investor_mdp.prism ../prism-examples/investor/investor.props -property 5 -const vmax=20,vinit=0 -dectree,search,learn=0,onlyTarget,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=investor_brtdp_bdd
echo "Computing investor BRTDP BDD"
java -d64 -Xms400m -Xmx4G -jar ../prism_dectree.jar ../prism-examples/investor/investor_mdp.prism ../prism-examples/investor/investor.props -property 5 -const vmax=20,vinit=0 -dectree,bdd,onlyTarget,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 }'
