Rosetta  2019.07
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real > Class Template Referenceabstract

#include <FlatLookup.hh>

Public Member Functions

 ~FlatLookup ()=default
 
template<class InputIterator >
void initialize (InputIterator first, InputIterator last)
 
bool first_match (QueryType &query, EntryType &entry, Real &distance)
 
bool closest_match (QueryType &query, EntryType &entry, Real &distance)
 
bool closest_match_subset (QueryType &query, EntryType &entry, Real &distance, std::vector< bool > subset)
 
void all_matches_below_threshold (QueryType &query, std::vector< Size > &entry_loc_v, std::vector< Real > &distance, Real rms_threshold)
 
virtual void prepare_for_query (QueryType &)
 
virtual Real entry_distance (QueryType &q, EntryType &e2)=0
 
virtual Real entry_radius (EntryType &e)=0
 

Public Attributes

std::vector< EntryType > entries
 

Constructor & Destructor Documentation

template<class QueryType, class EntryType, class Real = double>
numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::~FlatLookup ( )
default

Member Function Documentation

template<class QueryType, class EntryType, class Real = double>
void numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::all_matches_below_threshold ( QueryType &  query,
std::vector< Size > &  entry_loc_v,
std::vector< Real > &  distance,
Real  rms_threshold 
)
inline
template<class QueryType, class EntryType, class Real = double>
bool numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::closest_match ( QueryType &  query,
EntryType &  entry,
Real distance 
)
inline
template<class QueryType, class EntryType, class Real = double>
bool numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::closest_match_subset ( QueryType &  query,
EntryType &  entry,
Real distance,
std::vector< bool subset 
)
inline
template<class QueryType, class EntryType, class Real = double>
virtual Real numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::entry_distance ( QueryType &  q,
EntryType &  e2 
)
pure virtual
template<class QueryType, class EntryType, class Real = double>
virtual Real numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::entry_radius ( EntryType &  e)
pure virtual
template<class QueryType, class EntryType, class Real = double>
bool numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::first_match ( QueryType &  query,
EntryType &  entry,
Real distance 
)
inline
template<class QueryType, class EntryType, class Real = double>
template<class InputIterator >
void numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::initialize ( InputIterator  first,
InputIterator  last 
)
inline
template<class QueryType, class EntryType, class Real = double>
virtual void numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::prepare_for_query ( QueryType &  )
inlinevirtual

Member Data Documentation

template<class QueryType, class EntryType, class Real = double>
std::vector<EntryType> numeric::coordinate_fitting::FlatLookup< QueryType, EntryType, Real >::entries

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