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

itkMaxDecisionRule.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMaxDecisionRule.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/01/15 19:38:56 $
00007   Version:   $Revision: 1.4 $
00008 
00009   Copyright (c) 2002 Insight 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 __itkMaxDecisionRule_h
00018 #define __itkMaxDecisionRule_h
00019 
00020 #include <vector>
00021 #include "itkObject.h"
00022 #include "itkObjectFactory.h"
00023 
00024 namespace itk{ 
00025   namespace Statistics{
00026 
00031 class ITK_EXPORT MaxDecisionRule : 
00032       public Object
00033 {
00034 public:
00036   typedef MaxDecisionRule Self ;
00037   typedef Object Superclass;
00038   typedef SmartPointer<Self> Pointer;
00039 
00041   itkTypeMacro(MaxDecisionRule, Object);
00042 
00044   itkNewMacro(Self) ;
00045 
00046   unsigned int Evaluate(std::vector< double > discriminantScores) ;
00047 
00048 protected:
00049   MaxDecisionRule() {}
00050   virtual ~MaxDecisionRule() {}
00051   void PrintSelf(std::ostream& os, Indent indent) const ;
00052 } ; // end of class
00053 
00054 
00055   } // end of namespace Statistics 
00056 } // end of namespace itk
00057 
00058 #endif
00059 
00060 
00061 
00062 
00063 
00064 
00065 

Generated at Wed Mar 12 01:13:05 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000