RosenbrockFunction.h

Go to the documentation of this file.
00001 /******************************************************************************/
00002 /*                                                                            */
00003 /*   R O S E N B R O C K   F U N C T I O N   C L A S S   H E A D E R          */
00004 /*                                                                            */
00005 /*   Roberto Lopez                                                            */
00006 /*   International Center for Numerical Methods in Engineering (CIMNE)        */
00007 /*   Technical University of Catalonia (UPC)                                  */
00008 /*   Barcelona, Spain                                                         */
00009 /*   E-mail: rlopez@cimne.upc.edu                                             */
00010 /*                                                                            */
00011 /******************************************************************************/
00012 
00013 
00014 #ifndef __ROSENBROCKFUNCTION_H__
00015 #define __ROSENBROCKFUNCTION_H__
00016 
00017 #include "ObjectiveFunction.h"
00018 
00019 namespace Purple
00020 {
00021 
00022 /// This class represents the Rastrigin's objective function.
00023 ///
00024 /// @see ObjectiveFunction.
00025 
00026 class RosenbrockFunction : public ObjectiveFunction
00027 {
00028 
00029 public:
00030 
00031    // GENERAL CONSTRUCTOR
00032 
00033    RosenbrockFunction(void);
00034 
00035 
00036    // DESTRUCTOR
00037 
00038    virtual ~RosenbrockFunction(void);
00039 
00040 
00041    // METHODS
00042 
00043    // Objective function methods
00044 
00045    double getEvaluation(Vector<double>);
00046 };
00047 
00048 }
00049 
00050 #endif
00051 
00052 
00053 // Purple: An Open Source Numerical Optimization C++ Library.
00054 // Copyright (C) 2006 Roberto Lopez
00055 //
00056 // This library is free software; you can redistribute it and/or
00057 // modify it under the terms of the GNU Lesser General Public
00058 // License as published by the Free Software Foundation; either
00059 // version 2.1 of the License, or any later version.
00060 //
00061 // This library is distributed in the hope that it will be useful,
00062 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00063 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00064 // Lesser General Public License for more details.
00065 
00066 // You should have received a copy of the GNU Lesser General Public
00067 // License along with this library; if not, write to the Free Software
00068 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

Generated on Wed Jun 21 13:10:38 2006 for Purple by  doxygen 1.4.7