ProteoWizard
Public Member Functions | Public Attributes
pwiz::eharmony::SearchNeighborhoodCalculator Struct Reference

#include <SearchNeighborhoodCalculator.hpp>

Inheritance diagram for pwiz::eharmony::SearchNeighborhoodCalculator:
pwiz::eharmony::NormalDistributionSearch

List of all members.

Public Member Functions

 SearchNeighborhoodCalculator ()
 SearchNeighborhoodCalculator (double mzTol, double rtTol)
virtual void calculateTolerances (const DataFetcherContainer &dfc)
virtual bool close (const SpectrumQuery &a, const Feature &b) const
virtual double score (const SpectrumQuery &a, const Feature &b) const
virtual ~SearchNeighborhoodCalculator ()
virtual bool operator== (const SearchNeighborhoodCalculator &that) const
virtual bool operator!= (const SearchNeighborhoodCalculator &that) const

Public Attributes

string _id
double _mzTol
double _rtTol

Detailed Description

Definition at line 40 of file SearchNeighborhoodCalculator.hpp.


Constructor & Destructor Documentation

pwiz::eharmony::SearchNeighborhoodCalculator::SearchNeighborhoodCalculator ( )
inline

Definition at line 42 of file SearchNeighborhoodCalculator.hpp.

: _id("default"), _mzTol(.005), _rtTol(60) {}
pwiz::eharmony::SearchNeighborhoodCalculator::SearchNeighborhoodCalculator ( double  mzTol,
double  rtTol 
)
inline

Definition at line 43 of file SearchNeighborhoodCalculator.hpp.

References boost::lexical_cast().

: _mzTol(mzTol), _rtTol(rtTol) { _id = ("naive[" + boost::lexical_cast<string>(_mzTol) + "," + boost::lexical_cast<string>(_rtTol) + "]").c_str();}
virtual pwiz::eharmony::SearchNeighborhoodCalculator::~SearchNeighborhoodCalculator ( )
inlinevirtual

Definition at line 53 of file SearchNeighborhoodCalculator.hpp.

{}

Member Function Documentation

virtual void pwiz::eharmony::SearchNeighborhoodCalculator::calculateTolerances ( const DataFetcherContainer dfc)
inlinevirtual

Definition at line 45 of file SearchNeighborhoodCalculator.hpp.

{}
virtual bool pwiz::eharmony::SearchNeighborhoodCalculator::close ( const SpectrumQuery a,
const Feature b 
) const
virtual

Reimplemented in pwiz::eharmony::NormalDistributionSearch.

Referenced by test().

virtual double pwiz::eharmony::SearchNeighborhoodCalculator::score ( const SpectrumQuery a,
const Feature b 
) const
virtual
virtual bool pwiz::eharmony::SearchNeighborhoodCalculator::operator== ( const SearchNeighborhoodCalculator that) const
virtual
virtual bool pwiz::eharmony::SearchNeighborhoodCalculator::operator!= ( const SearchNeighborhoodCalculator that) const
virtual

Member Data Documentation

string pwiz::eharmony::SearchNeighborhoodCalculator::_id

Definition at line 49 of file SearchNeighborhoodCalculator.hpp.

double pwiz::eharmony::SearchNeighborhoodCalculator::_mzTol

Definition at line 50 of file SearchNeighborhoodCalculator.hpp.

double pwiz::eharmony::SearchNeighborhoodCalculator::_rtTol

Definition at line 51 of file SearchNeighborhoodCalculator.hpp.


The documentation for this struct was generated from the following file: