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

itkMaximumDecisionRule2.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMaximumDecisionRule2.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-05-02 05:43:58 $
00007   Version:   $Revision: 1.1 $
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 __itkMaximumDecisionRule2_h
00018 #define __itkMaximumDecisionRule2_h
00019 
00020 #include "itkDecisionRule.h"
00021 
00022 namespace itk { 
00023 namespace Statistics { 
00024 
00031 class ITK_EXPORT MaximumDecisionRule2 : public DecisionRule
00032 {
00033 public:
00035   typedef MaximumDecisionRule2                      Self;
00036   typedef DecisionRule                              Superclass;
00037   typedef SmartPointer<Self>                        Pointer;
00038   typedef SmartPointer<const Self>                  ConstPointer;
00039 
00041   itkTypeMacro(MaximumDecisionRule2, DecisionRuleBase);
00042 
00044   itkNewMacro(Self);
00045 
00046   typedef Superclass::MembershipVectorType  MembershipVectorType;
00047  
00048 
00053   virtual unsigned int Evaluate( const MembershipVectorType &discriminantScores) const;
00054 
00055 
00056 protected:
00057   MaximumDecisionRule2() {}
00058   virtual ~MaximumDecisionRule2() {}
00059   void PrintSelf(std::ostream& os, Indent indent) const;
00060 }; // end of class
00061 
00062 } // end of namespace itk
00063 } // end of namespace Statistics
00064 
00065 #endif
00066 

Generated at Thu May 28 10:44:24 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000