OpenStructure
Public Types | Public Member Functions
Distances Struct Reference

#include <distance_map.hh>

Public Types

typedef std::vector< std::pair< Real, int > > FloatArray
 

Public Member Functions

uint GetDataSize () const
 
void Add (Real dist, int index)
 
Real GetAverage () const
 
std::pair< Real, int > GetMin () const
 
std::pair< Real, int > GetMax () const
 
std::pair< Real, int > GetDataElement (uint index) const
 
Real GetStdDev () const
 
Real GetWeightedStdDev (Real sigma) const
 
Real GetNormStdDev () const
 
bool operator== (const Distances &rhs) const
 
bool operator!= (const Distances &rhs) const
 

Detailed Description

Container for a pair wise distance for each structure. Each structure is identified by its index in the originally used alignment.

Definition at line 63 of file distance_map.hh.

Member Typedef Documentation

◆ FloatArray

typedef std::vector<std::pair<Real,int> > FloatArray

Definition at line 65 of file distance_map.hh.

Member Function Documentation

◆ Add()

void Add ( Real  dist,
int  index 
)
inline

Definition at line 69 of file distance_map.hh.

◆ GetAverage()

Real GetAverage ( ) const
inline

Definition at line 73 of file distance_map.hh.

◆ GetDataElement()

std::pair<Real,int> GetDataElement ( uint  index) const
inline

Definition at line 92 of file distance_map.hh.

◆ GetDataSize()

uint GetDataSize ( ) const
inline

Definition at line 67 of file distance_map.hh.

◆ GetMax()

std::pair<Real,int> GetMax ( ) const
inline

Definition at line 86 of file distance_map.hh.

◆ GetMin()

std::pair<Real,int> GetMin ( ) const
inline

Definition at line 80 of file distance_map.hh.

◆ GetNormStdDev()

Real GetNormStdDev ( ) const
inline

Definition at line 120 of file distance_map.hh.

◆ GetStdDev()

Real GetStdDev ( ) const
inline

Definition at line 107 of file distance_map.hh.

◆ GetWeightedStdDev()

Real GetWeightedStdDev ( Real  sigma) const
inline

Definition at line 113 of file distance_map.hh.

◆ operator!=()

bool operator!= ( const Distances rhs) const
inline

Definition at line 127 of file distance_map.hh.

◆ operator==()

bool operator== ( const Distances rhs) const
inline

Definition at line 126 of file distance_map.hh.


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