function [] = get2()

addpath("./UTIL", "./GA", "./KEYS", "./DATASETS");

load("./RESULTS/MMRE/1test2");
alb1 = albrecht;
desh1 = desharnais;
max1 = maxwell;
coc1 = cocomo81;

load("./RESULTS/MMRE/2test2");
alb2 = albrecht;
desh2 = desharnais;
max2 = maxwell;
coc2 = cocomo81;

load("./RESULTS/MMRE/3test2");
alb3 = albrecht;
desh3 = desharnais;
max3 = maxwell;
coc3 = cocomo81;

load("./RESULTS/MMRE/4test2");
alb4 = albrecht;
desh4 = desharnais;
max4 = maxwell;
coc4 = cocomo81;


aABE = computeABE("preAlbrecht.txt", 2);
dABE = computeABE("preDesharnais.txt", 2);
mABE = computeABE("preMaxwell.txt", 2);
cABE = computeABE("preCocomo81.txt", 2);

aABE2 = computeABE("preAlbrecht.txt", 1);
dABE2 = computeABE("preDesharnais.txt", 1);
mABE2 = computeABE("preMaxwell.txt", 1);
cABE2 = computeABE("preCocomo81.txt", 1);

aM1 = computeMMRE(alb1, "preAlbrecht.txt", 2);
aM2 = computeMMRE(alb2, "preAlbrecht.txt", 2);
aM3 = computeMMRE(alb3, "preAlbrecht.txt", 2);
aM4 = computeMMRE(alb4, "preAlbrecht.txt", 2);
dM1 = computeMMRE(desh1, "preDesharnais.txt", 2);
dM2 = computeMMRE(desh2, "preDesharnais.txt", 2);
dM3 = computeMMRE(desh3, "preDesharnais.txt", 2);
dM4 = computeMMRE(desh4, "preDesharnais.txt", 2);
mM1 = computeMMRE(max1, "preMaxwell.txt", 2);
mM2 = computeMMRE(max2, "preMaxwell.txt", 2);
mM3 = computeMMRE(max3, "preMaxwell.txt", 2);
mM4 = computeMMRE(max4, "preMaxwell.txt", 2);
cM1 = computeMMRE(coc1, "preCocomo81.txt", 2);
cM2 = computeMMRE(coc2, "preCocomo81.txt", 2);
cM3 = computeMMRE(coc3, "preCocomo81.txt", 2);
cM4 = computeMMRE(coc4, "preCocomo81.txt", 2);

aA1 = computeMMRE(alb1, "preAlbrecht.txt", 1);
aA2 = computeMMRE(alb2, "preAlbrecht.txt", 1);
aA3 = computeMMRE(alb3, "preAlbrecht.txt", 1);
aA4 = computeMMRE(alb4, "preAlbrecht.txt", 1);
dA1 = computeMMRE(desh1, "preDesharnais.txt", 1);
dA2 = computeMMRE(desh2, "preDesharnais.txt", 1);
dA3 = computeMMRE(desh3, "preDesharnais.txt", 1);
dA4 = computeMMRE(desh4, "preDesharnais.txt", 1);
mA1 = computeMMRE(max1, "preMaxwell.txt", 1);
mA2 = computeMMRE(max2, "preMaxwell.txt", 1);
mA3 = computeMMRE(max3, "preMaxwell.txt", 1);
mA4 = computeMMRE(max4, "preMaxwell.txt", 1);
cA1 = computeMMRE(coc1, "preCocomo81.txt", 1);
cA2 = computeMMRE(coc2, "preCocomo81.txt", 1);
cA3 = computeMMRE(coc3, "preCocomo81.txt", 1);
cA4 = computeMMRE(coc4, "preCocomo81.txt", 1);



aMM = [aM1,aM2,aM3,aM4];
dMM = [dM1,dM2,dM3,dM4];
cMM = [cM1,cM2,cM3,cM4];
mMM = [mM1,mM2,mM3,mM4];


aMA = [aA1,aA2,aA3,aA4];
dMA = [dA1,dA2,dA3,dA4];
cMA = [cA1,cA2,cA3,cA4];
mMA = [mA1,mA2,mA3,mA4];

aDatMed = [statistics(aABE); statistics(aMM(1,:)); statistics(aMM(2,:)); statistics(aMM(3,:))];
dDatMed = [statistics(dABE); statistics(dMM(1,:)); statistics(dMM(2,:)); statistics(dMM(3,:))];
mDatMed = [statistics(mABE); statistics(mMM(1,:)); statistics(mMM(2,:)); statistics(mMM(3,:))];
cDatMed = [statistics(cABE); statistics(cMM(1,:)); statistics(cMM(2,:)); statistics(cMM(3,:))];

aDatMea = [statistics(aABE2); statistics(aMA(1,:)); statistics(aMA(2,:)); statistics(aMA(3,:))];
dDatMea = [statistics(dABE2); statistics(dMA(1,:)); statistics(dMA(2,:)); statistics(dMA(3,:))];
mDatMea = [statistics(mABE2); statistics(mMA(1,:)); statistics(mMA(2,:)); statistics(mMA(3,:))];
cDatMea = [statistics(cABE2); statistics(cMA(1,:)); statistics(cMA(2,:)); statistics(cMA(3,:))];

save "aPlot3.txt" aDatMed;
save "aPlot4.txt" aDatMea;
save "dPlot3.txt" dDatMed;
save "dPlot4.txt" dDatMea;
save "cPlot3.txt" cDatMed;
save "cPlot4.txt" cDatMea;
save "mPlot3.txt" mDatMed;
save "mPlot4.txt" mDatMea;

