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

itkMinimumDecisionRule.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMinimumDecisionRule.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005-07-15 21:51:01 $
00007   Version:   $Revision: 1.5 $
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 __MinimumDecisionRule_h
00018 #define __MinimumDecisionRule_h
00019 
00020 #include "itkWin32Header.h"
00021 
00022 #include <vector>
00023 #include "vnl/vnl_matrix.h"
00024 #include "itkObject.h"
00025 #include "itkObjectFactory.h"
00026 #include "itkDecisionRuleBase.h"
00027 
00028 namespace itk
00029 {
00030 
00035 class ITKCommon_EXPORT MinimumDecisionRule : 
00036   public DecisionRuleBase
00037 {
00038  public:
00040   typedef MinimumDecisionRule Self ;
00041   typedef DecisionRuleBase Superclass;
00042   typedef itk::SmartPointer<Self> Pointer;
00043 
00045   itkTypeMacro(MinimumDecisionRule, DecisionRuleBase);
00046 
00048   itkNewMacro(Self) ;
00049 
00050 
00052   typedef Superclass::VectorType  VectorType;
00053   typedef Superclass::ArrayType   ArrayType;
00054 
00055 
00060   virtual unsigned int Evaluate( const VectorType &discriminantScores) const;
00061 
00066   virtual unsigned int Evaluate( const ArrayType &discriminantScores) const;
00067 
00068 
00069  protected:
00070   MinimumDecisionRule() ;
00071   virtual ~MinimumDecisionRule() {}
00072   
00073  private:
00074 
00075 
00076 } ; // end of class
00077 
00078 } // namespace itk
00079 
00080 #endif
00081 
00082 
00083 
00084 
00085 
00086 
00087 
00088 

Generated at Mon Apr 14 13:33:52 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000