Comparative analysis of three methods to evaluate vacuum-polarization functions