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

#include <TrialCounter.hh>

Inheritance diagram for protocols::moves::TrialCounter:
Inheritance graph
[legend]

Public Member Functions

 TrialCounter ()
 
virtual void reset ()
 
virtual void count_trial (std::string const &)
 
virtual void count_accepted (std::string const &)
 
virtual void count_energy_drop (std::string const &, core::Real)
 
virtual core::Size total_trials () const
 return number of trials since last reset More...
 
virtual core::Size trial (std::string const &) const
 
virtual core::Size accepted (std::string const &) const
 
virtual core::Real energy_drop (std::string const &) const
 
virtual utility::vector1
< std::string > const 
tags () const
 
void show () const
 
virtual void show (std::ostream &, std::string line_header="", bool with_end_line=true) const
 

Private Attributes

std::map< std::string, int > trial_counter_
 
std::map< std::string, int > accept_counter_
 
std::map< std::string, core::Realenergy_drop_counter_
 

Constructor & Destructor Documentation

protocols::moves::TrialCounter::TrialCounter ( )
inline

Member Function Documentation

core::Size protocols::moves::TrialCounter::accepted ( std::string const &  tag) const
virtual
void protocols::moves::TrialCounter::count_accepted ( std::string const &  tag)
virtual
void protocols::moves::TrialCounter::count_energy_drop ( std::string const &  tag,
core::Real  delta 
)
virtual
void protocols::moves::TrialCounter::count_trial ( std::string const &  tag)
virtual
core::Real protocols::moves::TrialCounter::energy_drop ( std::string const &  tag) const
virtual
void protocols::moves::TrialCounter::reset ( void  )
virtual
void protocols::moves::TrialCounter::show ( ) const
void protocols::moves::TrialCounter::show ( std::ostream &  os,
std::string  line_header = "",
bool  with_end_line = true 
) const
virtual
utility::vector1< std::string > const protocols::moves::TrialCounter::tags ( ) const
virtual
core::Size protocols::moves::TrialCounter::total_trials ( ) const
virtual

return number of trials since last reset

core::Size protocols::moves::TrialCounter::trial ( std::string const &  tag) const
virtual

Member Data Documentation

std::map< std::string, int > protocols::moves::TrialCounter::accept_counter_
private
std::map< std::string, core::Real > protocols::moves::TrialCounter::energy_drop_counter_
private
std::map< std::string, int > protocols::moves::TrialCounter::trial_counter_
private

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