Tagcoll::Scores< TAG > Class Template Reference

#include <experiments.h>

List of all members.

Public Member Functions

 Scores (float def=1.0)
void add (const std::string &expr, float score)
float operator() (const TAG &tag) const
float distance (const OpSet< TAG > &ts1, const OpSet< TAG > &ts2) const

Protected Attributes

float defaultScore
std::vector< Scorescores

Classes

struct  Score

template<typename TAG>
class Tagcoll::Scores< TAG >


Constructor & Destructor Documentation

template<typename TAG>
Tagcoll::Scores< TAG >::Scores ( float  def = 1.0  )  [inline]


Member Function Documentation

template<typename TAG>
void Tagcoll::Scores< TAG >::add ( const std::string &  expr,
float  score 
) [inline]

template<typename TAG>
float Tagcoll::Scores< TAG >::operator() ( const TAG &  tag  )  const [inline]

template<typename TAG>
float Tagcoll::Scores< TAG >::distance ( const OpSet< TAG > &  ts1,
const OpSet< TAG > &  ts2 
) const [inline]


Member Data Documentation

template<typename TAG>
float Tagcoll::Scores< TAG >::defaultScore [protected]

template<typename TAG>
std::vector<Score> Tagcoll::Scores< TAG >::scores [protected]


The documentation for this class was generated from the following file:
Generated on Wed Jun 20 19:25:50 2007 for libtagcoll by  doxygen 1.5.2