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

itk::DecisionRuleBase Class Reference

Base class that allows the setting of usage of differnt decision rules used in classification This class has the pure virtual function, Evaluate(). Therefore, any subclass should implement the function to be instantiated. More...

#include <itkDecisionRuleBase.h>

Inheritance diagram for itk::DecisionRuleBase:

Inheritance graph
[legend]
Collaboration diagram for itk::DecisionRuleBase:

Collaboration graph
[legend]
List of all members.

Public Types

typedef DecisionRuleBase Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef std::vector< double > VectorType
typedef Array< double > ArrayType
typedef VariableLengthVector<
double > 
VariableLengthVectorType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual unsigned int Evaluate (const VectorType &discriminantScores) const=0
virtual unsigned int Evaluate (const ArrayType &discriminantScores) const=0

Protected Member Functions

 DecisionRuleBase ()
virtual ~DecisionRuleBase ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

Base class that allows the setting of usage of differnt decision rules used in classification This class has the pure virtual function, Evaluate(). Therefore, any subclass should implement the function to be instantiated.

Definition at line 37 of file itkDecisionRuleBase.h.


Member Typedef Documentation

typedef Array< double > itk::DecisionRuleBase::ArrayType
 

Reimplemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

Definition at line 51 of file itkDecisionRuleBase.h.

typedef SmartPointer<const Self> itk::DecisionRuleBase::ConstPointer
 

Reimplemented from itk::Object.

Reimplemented in itk::MaximumDecisionRule.

Definition at line 44 of file itkDecisionRuleBase.h.

typedef SmartPointer<Self> itk::DecisionRuleBase::Pointer
 

Reimplemented from itk::Object.

Reimplemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

Definition at line 43 of file itkDecisionRuleBase.h.

typedef DecisionRuleBase itk::DecisionRuleBase::Self
 

Standard class typedefs

Reimplemented from itk::Object.

Reimplemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

Definition at line 41 of file itkDecisionRuleBase.h.

typedef Object itk::DecisionRuleBase::Superclass
 

Reimplemented from itk::Object.

Reimplemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

Definition at line 42 of file itkDecisionRuleBase.h.

typedef VariableLengthVector< double > itk::DecisionRuleBase::VariableLengthVectorType
 

Reimplemented in itk::MaximumDecisionRule.

Definition at line 52 of file itkDecisionRuleBase.h.

typedef std::vector< double > itk::DecisionRuleBase::VectorType
 

Types for the arguments that are acceptable in the Evaluate() method

Reimplemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

Definition at line 50 of file itkDecisionRuleBase.h.


Constructor & Destructor Documentation

itk::DecisionRuleBase::DecisionRuleBase  )  [protected]
 

virtual itk::DecisionRuleBase::~DecisionRuleBase  )  [protected, virtual]
 


Member Function Documentation

virtual unsigned int itk::DecisionRuleBase::Evaluate const ArrayType discriminantScores  )  const [pure virtual]
 

The return value of this function is a class label. Basically, using its internal logic based on the discriminant scores, this function decides best class label and return it.

Implemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

virtual unsigned int itk::DecisionRuleBase::Evaluate const VectorType discriminantScores  )  const [pure virtual]
 

The return value of this function is a class label. Basically, using its internal logic based on the discriminant scores, this function decides best class label and return it.

Implemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

virtual const char* itk::DecisionRuleBase::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods)

Reimplemented from itk::Object.

Reimplemented in itk::MaximumDecisionRule, itk::MaximumRatioDecisionRule, and itk::MinimumDecisionRule.

void itk::DecisionRuleBase::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

Reimplemented in itk::MaximumDecisionRule.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:45:57 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000