Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
numeric::geometry::hashing::SixDOffsetTree Class Reference

Returns a list of offsets corresponding to the bins in a hypershell with radius x. More...

#include <SixDHasher.hh>

Public Types

typedef numeric::Real Real
 
typedef numeric::Size Size
 
typedef platform::SSize SSize
 

Public Member Functions

 SixDOffsetTree ()
 
std::vector< SBin6Dlookup (Size radius, const Bin6D &center, const Bin6D &bounds) const
 
void init (Size max_radius)
 
Size sum_radius (SBin6D &input, Size range=6)
 

Private Member Functions

bool insert (SBin6D &input, Size depth=1, Size caller=0)
 

Private Attributes

std::vector< std::vector
< boost::unordered_map< SSize,
Size > > > 
data_
 

Detailed Description

Returns a list of offsets corresponding to the bins in a hypershell with radius x.

Member Typedef Documentation

Constructor & Destructor Documentation

numeric::geometry::hashing::SixDOffsetTree::SixDOffsetTree ( )
default

Member Function Documentation

void numeric::geometry::hashing::SixDOffsetTree::init ( Size  max_radius)
bool numeric::geometry::hashing::SixDOffsetTree::insert ( SBin6D input,
Size  depth = 1,
Size  caller = 0 
)
private
std::vector< SBin6D > numeric::geometry::hashing::SixDOffsetTree::lookup ( Size  radius,
const Bin6D center,
const Bin6D bounds 
) const
numeric::Size numeric::geometry::hashing::SixDOffsetTree::sum_radius ( SBin6D input,
numeric::Size  range = 6 
)

Member Data Documentation

std::vector< std:: vector < boost::unordered_map < SSize, Size > > > numeric::geometry::hashing::SixDOffsetTree::data_
private

Referenced by insert(), and lookup().


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