Design of Switching Strategy for Adaptive Cruise Control Under String Stability Constraints