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

itkDecisionRule.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkDecisionRule.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-05-02 05:43:55 $
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 __itkDecisionRule_h
00018 #define __itkDecisionRule_h
00019 
00020 #include <vector>
00021 #include "vnl/vnl_matrix.h"
00022 #include "itkObject.h"
00023 #include "itkObjectFactory.h"
00024 #include "itkArray.h"
00025 #include "itkVariableLengthVector.h"
00026 
00027 namespace itk {
00028 namespace Statistics {
00029 
00037 class ITK_EXPORT DecisionRule : public Object
00038 {
00039 public:
00041   typedef DecisionRule                  Self;
00042   typedef Object                        Superclass;
00043   typedef SmartPointer<Self>            Pointer;
00044   typedef SmartPointer<const Self>      ConstPointer;
00045 
00047   itkTypeMacro(DecisionRule, Object);
00048 
00050   typedef std::vector< double >            MembershipVectorType;
00051 
00056   virtual unsigned int Evaluate( const MembershipVectorType & discriminantScores ) const = 0;
00057 
00058 protected:
00059   DecisionRule();
00060   virtual ~DecisionRule();
00061   void PrintSelf(std::ostream& os, Indent indent) const;
00062   
00063 private:
00064   DecisionRule(const Self&); //purposely not implemented
00065   void operator=(const Self&); //purposely not implemented
00066 }; // end of class
00067 } // end of namespace Statistics
00068 } // end of namespace itk
00069 
00070 #endif
00071 

Generated at Tue Sep 15 02:45:34 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000