function [ztrata1 ztrata2]=srovnej(system,apriori,seed)
kresli=0;
[ztrata1 omega1 rizeni1]=jednoduche_rizeni(system,apriori,seed);
[ztrata2 omega2 rizeni2]=dualni_rizeni(system,apriori,s);
if (kresli)
figure
plot(omega1(1,:),'r-'); hold on
plot(omega1(2,:),'r.-.');
plot(omega2(1,:),'b-'); 
plot(omega2(2,:),'b.-.');
legend('SKUTECNE_simple','ODHAD_simle','SKUTECNE_dual','ODHAD_dual');
TITLE([ztrata1';ztrata2']);
figure
plot(rizeni1(1,:),'r-'); hold on
plot(rizeni1(2,:),'r.-.');
plot(rizeni2(1,:),'b-'); 
plot(rizeni2(2,:),'b.-.');
legend('simple_1','simple_1','dual_1','dual_1');
end
end