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: 2009-02-05 22:04:03 $
00007   Version:   $Revision: 1.9 $
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;
00061 
00062 
00063 protected:
00064   MaximumDecisionRule() {}
00065   virtual ~MaximumDecisionRule() {}
00066   void PrintSelf(std::ostream& os, Indent indent) const;
00067 }; // end of class
00068 
00069 } // end of namespace itk
00070 
00071 #endif
00072 

Generated at Tue Sep 15 03:54:57 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000