Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

fl::ChiSquared Class Reference

#include <descriptor.h>

Inheritance diagram for fl::ChiSquared:

fl::Comparison List of all members.

Public Methods

 ChiSquared ()
 ChiSquared (std::istream &stream)
virtual Vector< float > preprocess (const Vector< float > &value) const
virtual float value (const Vector< float > &value1, const Vector< float > &value2, bool preprocessed=false) const

Detailed Description

Sum up the measure 1 - (a - b)^2 / (a + b) over all the elements of the two vectors.


Constructor & Destructor Documentation

fl::ChiSquared::ChiSquared   [inline]
 

ChiSquared::ChiSquared std::istream &    stream
 


Member Function Documentation

Vector< float > ChiSquared::preprocess const Vector< float > &    value const [virtual]
 

Reimplemented from fl::Comparison.

float ChiSquared::value const Vector< float > &    value1,
const Vector< float > &    value2,
bool    preprocessed = false
const [virtual]
 

Implements fl::Comparison.


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 17:13:26 2004 for fl by doxygen1.2.18