OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Definition at line 65 of file distance_map.hh.

Member Function Documentation

void Add ( Real  dist,
int  index 
)
inline

Definition at line 69 of file distance_map.hh.

Real GetAverage ( ) const
inline

Definition at line 73 of file distance_map.hh.

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

Definition at line 92 of file distance_map.hh.

uint GetDataSize ( ) const
inline

Definition at line 67 of file distance_map.hh.

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

Definition at line 86 of file distance_map.hh.

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

Definition at line 80 of file distance_map.hh.

Real GetNormStdDev ( ) const
inline

Definition at line 120 of file distance_map.hh.

Real GetStdDev ( ) const
inline

Definition at line 107 of file distance_map.hh.

Real GetWeightedStdDev ( Real  sigma) const
inline

Definition at line 113 of file distance_map.hh.

bool operator!= ( const Distances rhs) const
inline

Definition at line 127 of file distance_map.hh.

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: