Given the function $f ( x ) = 2 \cos ^ { 2 } x - \sin ^ { 2 } x + 2$, then
A. The minimum positive period of $f ( x )$ is $\pi$, and the maximum value is 3\\
B. The minimum positive period of $f ( x )$ is $\pi$, and the maximum value is 4\\
C. The minimum positive period of $f ( x )$ is $2 \pi$, and the maximum value is 3\\
D. The minimum positive period of $f ( x )$ is $2 \pi$, and the maximum value is 4