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

itkMaximumDecisionRule.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMaximumDecisionRule.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/10/07 23:10:10 $
00007   Version:   $Revision: 1.8 $
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 __itkMaximumDecisionRule_h
00018 #define __itkMaximumDecisionRule_h
00019 
00020 #include "itkWin32Header.h"
00021 
00022 #include "itkDecisionRuleBase.h"
00023 
00024 namespace itk{ 
00025 
00031 class ITKCommon_EXPORT MaximumDecisionRule : 
00032     public DecisionRuleBase
00033 {
00034 public:
00036   typedef MaximumDecisionRule Self ;
00037   typedef DecisionRuleBase Superclass;
00038   typedef SmartPointer<Self> Pointer;
00039   typedef SmartPointer<const Self> ConstPointer;
00040 
00042   itkTypeMacro(MaximumDecisionRule, DecisionRuleBase);
00043 
00045   itkNewMacro(Self) ;
00046 
00048   typedef Superclass::VectorType  VectorType;
00049   typedef Superclass::ArrayType   ArrayType;
00050   typedef Superclass::VariableLengthVectorType   VariableLengthVectorType;
00051  
00052 
00057   virtual unsigned int Evaluate( const VectorType &discriminantScores) const;
00058   virtual unsigned int Evaluate( const ArrayType &discriminantScores) const;
00059   virtual unsigned int Evaluate( const VariableLengthVectorType &discriminantScores) const;
00060 
00061 
00062 protected:
00063   MaximumDecisionRule() {}
00064   virtual ~MaximumDecisionRule() {}
00065   void PrintSelf(std::ostream& os, Indent indent) const ;
00066 } ; // end of class
00067 
00068 
00069 
00070 } // end of namespace itk
00071 
00072 #endif
00073 
00074 
00075 
00076 
00077 
00078 
00079 

Generated at Wed May 24 23:38:02 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000