  We discuss the relation between the modified method of simplest equation and
the exp-function method. First on the basis of our experience from the
application of the method of simplest equation we generalize the exp-function
ansatz. Then we apply the ansatz for obtaining exact solutions for members of a
class of nonlinear PDEs which contains as particular cases several nonlinear
PDEs that model the propagation of water waves.
