majorityvoting算法?