Optimise a Yagi-Uda antenna design to achieve a specific radiation pattern and gain at 1 GHz. The Yagi-Uda antenna consists of a dipole, reflector and two directors.