OpenStructure
Public Member Functions | Static Public Member Functions
ReducedStatistics Class Reference

#include <reduced_statistics.hh>

Public Member Functions

 ReducedStatistics (Real l_cutoff, Real u_cutoff, uint num_ang_bins, uint num_dist_bins, uint ssep)
const ReducedStatOptionsGetOptions () const
void Extract (mol::EntityHandle ent)
void Extract (mol::EntityView ent)
void Save (const String &filename)
template<typename DS >
void Serialize (DS &ds)
uint64_t GetTotalCount () const
uint64_t GetCount (AminoAcid aa_one, AminoAcid aa_two) const
uint64_t GetCount (AminoAcid aa_one, AminoAcid aa_two, int dist_bin, int ang_bin)
uint64_t GetCount (int dist_bin, int ang_bin) const

Static Public Member Functions

static ReducedStatisticsPtr Load (const String &filename)

Detailed Description

Definition at line 73 of file reduced_statistics.hh.


Constructor & Destructor Documentation

ReducedStatistics ( Real  l_cutoff,
Real  u_cutoff,
uint  num_ang_bins,
uint  num_dist_bins,
uint  ssep 
)
inline

Definition at line 75 of file reduced_statistics.hh.


Member Function Documentation

void Extract ( mol::EntityHandle  ent)

extract the statistics from the given entity (handle)

void Extract ( mol::EntityView  ent)

extract statistics from given entity (view)

uint64_t GetCount ( AminoAcid  aa_one,
AminoAcid  aa_two 
) const
uint64_t GetCount ( AminoAcid  aa_one,
AminoAcid  aa_two,
int  dist_bin,
int  ang_bin 
)
inline

Definition at line 104 of file reduced_statistics.hh.

uint64_t GetCount ( int  dist_bin,
int  ang_bin 
) const
const ReducedStatOptions& GetOptions ( ) const
inline

Definition at line 83 of file reduced_statistics.hh.

uint64_t GetTotalCount ( ) const
static ReducedStatisticsPtr Load ( const String filename)
static
void Save ( const String filename)
void Serialize ( DS &  ds)

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