Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkRegularStepGradientDescentOptimizer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkRegularStepGradientDescentOptimizer.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007-03-22 14:29:14 $
00007   Version:   $Revision: 1.20 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkRegularStepGradientDescentOptimizer_h
00018 #define __itkRegularStepGradientDescentOptimizer_h
00019 
00020 #include "itkRegularStepGradientDescentBaseOptimizer.h"
00021 
00022 namespace itk
00023 {
00024   
00031 class ITK_EXPORT RegularStepGradientDescentOptimizer : 
00032     public RegularStepGradientDescentBaseOptimizer
00033 {
00034 public:
00036   typedef RegularStepGradientDescentOptimizer         Self;
00037   typedef RegularStepGradientDescentBaseOptimizer     Superclass;
00038   typedef SmartPointer<Self>                          Pointer;
00039   typedef SmartPointer<const Self>                    ConstPointer;
00040 
00042   itkNewMacro(Self);
00043 
00045   itkTypeMacro( RegularStepGradientDescentOptimizer, 
00046                 RegularStepGradientDescentBaseOptimizer );
00047 
00049   typedef Superclass::CostFunctionType        CostFunctionType;
00050   typedef CostFunctionType::Pointer           CostFunctionPointer;
00051 
00052 
00053 protected:
00054   RegularStepGradientDescentOptimizer() {};
00055   virtual ~RegularStepGradientDescentOptimizer() {};
00056 
00062   virtual void StepAlongGradient( 
00063     double factor, 
00064     const DerivativeType & transformedGradient );
00065 
00066 private:
00067   RegularStepGradientDescentOptimizer(const Self&); //purposely not implemented
00068   void operator=(const Self&); //purposely not implemented
00069 
00070 };
00071 
00072 } // end namespace itk
00073 
00074 #endif
00075 

Generated at Mon Jul 12 2010 19:40:38 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000