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: 2009-02-06 20:53:07 $
00007   Version:   $Revision: 1.7 $
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 __itkMinimumDecisionRule_h
00018 #define __itkMinimumDecisionRule_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 }; // end of class
00074 
00075 } // namespace itk
00076 
00077 #endif
00078 

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