Optical solitons, complexitons, Gaussian soliton and power series solutions of a generalized Hirota equation