Rosetta 3.5
 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>

Collaboration diagram for protocols::moves::TrialCounter:
Collaboration graph

Public Member Functions

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

Private Attributes

std::map< std::string, inttrial_counter_
std::map< std::string, intaccept_counter_
std::map< std::string, core::Realenergy_drop_counter_

Constructor & Destructor Documentation

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

Member Function Documentation

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

return number of trials since last reset

Referenced by protocols::moves::MonteCarlo::total_trials().

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

Member Data Documentation

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

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