function [t1 t2 t3 t4] = Treetimer(T,n,v)
if v(1) == 1
    t1 = cputime;
    for i = 1:n
        DAT_naive(T);
    end
    t1 = (cputime-t1)/n;
    disp("naive done!");
    disp(t1);
else
    t1 = 0;
end
if v(2) == 1
    t2 = cputime;
    for i = 1:n
        DAT_milp(T);
    end
    t2 = (cputime-t2)/n;
    disp("MILP done!");
    disp(t2);
else
    t2 = 0;
end
if v(3) == 1
    t3 = cputime;
    for i = 1:n
        DAT_smart(T);
    end
    t3 = (cputime-t3)/n;
    disp("smart done!");
    disp(t3);
else
    t3 = 0;
end
if v(4) == 1
    t4 = cputime;
    for i = 1:n
        DAT_semismart(T);
    end
    t4 = (cputime-t4)/n;
    disp("semismart done!");
    disp(t4);
else
    t4 = 0;
end
disp(datetime)
end