Analysis of beamforming algorithms for antijams