00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkDecisionRuleBase_h
00018 #define __itkDecisionRuleBase_h
00019
00020 #include <vector>
00021 #include "vnl/vnl_matrix.h"
00022 #include "itkObject.h"
00023 #include "itkObjectFactory.h"
00024
00025 namespace itk
00026 {
00027
00035 class ITKCommon_EXPORT DecisionRuleBase : public Object
00036 {
00037 public:
00039 typedef DecisionRuleBase Self ;
00040 typedef Object Superclass;
00041 typedef SmartPointer<Self> Pointer;
00042 typedef SmartPointer<const Self> ConstPointer;
00043
00045 itkTypeMacro(DecisionRuleBase, Object);
00046
00051 virtual unsigned int Evaluate(std::vector< double >
00052 &discriminantScores) = 0 ;
00053
00054 protected:
00055 DecisionRuleBase();
00056 virtual ~DecisionRuleBase();
00057 void PrintSelf(std::ostream& os, Indent indent) const;
00058
00059 private:
00060
00061 } ;
00062
00063 }
00064
00065 #endif
00066
00067
00068
00069
00070
00071
00072