Comparative study of various algorithms for the merging of parton showers and matrix elements in hadronic collisions