This study refers to the estimation of the distribution of the ocean wave energy with respect to the direction. It consists of two parts. First a preliminary deterministic model is derived, which is used as a base for the statistical theory of ocean waves. Some basic elements and concepts of the theory are also presented along with the data estimates of the spreading function which is to be estimated. A Fourier series expansion of the spreading function is introduced to obtain a solution which is improved with the Maximum Entropy principle. A Simulated Annealing algorithm is utilized in order to achieve the maximization of the Entropy function. Simulated Annealing as it is described in the text is a method which iteratively seeks to optimize a function of discrete variables. A particularly useful property of this method is that it can reach a global optimum even if it is hidden between local ones. Finally some examples are presented using the above method and simulated data.