Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
protocols::recces::Histogram Class Reference

#include <Histogram.hh>

Inheritance diagram for protocols::recces::Histogram:
Inheritance graph
[legend]

Public Member Functions

 Histogram (core::Real const min, core::Real const max, core::Real const spacing)
 
 ~Histogram () override
 
void add (float const value, core::Size const n_items)
 
void clear ()
 
utility::vector1< core::Realget_scores () const
 
utility::vector1< core::Size >
const & 
get_hist () const
 

Private Attributes

core::Real min_
 
core::Real max_
 
core::Real spacing_
 
core::Size n_elem_
 
utility::vector1< core::Sizehist_
 

Constructor & Destructor Documentation

protocols::recces::Histogram::Histogram ( core::Real const  min,
core::Real const  max,
core::Real const  spacing 
)
protocols::recces::Histogram::~Histogram ( )
overridedefault

Member Function Documentation

void protocols::recces::Histogram::add ( float const  value,
core::Size const  n_items 
)

References hist_, max_, min_, n_elem_, and spacing_.

void protocols::recces::Histogram::clear ( )

References hist_, and n_elem_.

utility::vector1<core::Size> const& protocols::recces::Histogram::get_hist ( ) const
inline

References hist_.

utility::vector1< core::Real > protocols::recces::Histogram::get_scores ( ) const

References min_, n_elem_, and spacing_.

Member Data Documentation

utility::vector1<core::Size> protocols::recces::Histogram::hist_
private

Referenced by add(), clear(), get_hist(), and Histogram().

core::Real protocols::recces::Histogram::max_
private

Referenced by add().

core::Real protocols::recces::Histogram::min_
private

Referenced by add(), and get_scores().

core::Size protocols::recces::Histogram::n_elem_
private

Referenced by add(), clear(), get_scores(), and Histogram().

core::Real protocols::recces::Histogram::spacing_
private

Referenced by add(), and get_scores().


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