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

#include <ScoreEach.bench.hh>

Inheritance diagram for ScoreEachBenchmark:
Inheritance graph
[legend]

Public Member Functions

 ScoreEachBenchmark (std::string name, core::scoring::ScoreType score_type, core::Size base_scale_factor, std::string infile="test_in.pdb", bool centroid=false)
 
virtual void set_scorefxn (core::scoring::ScoreFunctionOP scorefxn)
 
void setUp () override
 
void run (core::Real scaleFactor) override
 
void run_one_body_energy (core::Real scaleFactor)
 
void run_short_ranged_two_body_energy (core::Real scaleFactor)
 
void run_long_ranged_two_body_energy (core::Real scaleFactor)
 
void tearDown () override
 
- Public Member Functions inherited from PerformanceBenchmark
 PerformanceBenchmark (std::string name)
 
virtual ~PerformanceBenchmark ()
 
double execute (core::Real scaleFactor)
 
std::string name ()
 

Private Attributes

core::pose::PoseOP pose_
 
core::scoring::ScoreType score_type_
 
core::scoring::ScoreFunctionOP scorefxn_
 
core::scoring::methods::EnergyMethodOP enmeth_
 
core::scoring::methods::EnergyMethodType enmethtype_
 
core::Size base_scale_factor_
 
bool setup_successful_
 
std::string in_file_
 
bool centroid_
 

Additional Inherited Members

- Static Public Member Functions inherited from PerformanceBenchmark
static void executeOneBenchmark (std::string const &name, core::Real scaleFactor=1)
 
static void executeAllBenchmarks (core::Real scaleFactor=1)
 
static std::string getReport ()
 
static std::string getOneReport (std::string const &name)
 

Constructor & Destructor Documentation

ScoreEachBenchmark::ScoreEachBenchmark ( std::string  name,
core::scoring::ScoreType  score_type,
core::Size  base_scale_factor,
std::string  infile = "test_in.pdb",
bool  centroid = false 
)
inline

Member Function Documentation

void ScoreEachBenchmark::run ( core::Real  scaleFactor)
inlineoverridevirtual
void ScoreEachBenchmark::run_long_ranged_two_body_energy ( core::Real  scaleFactor)
inline
void ScoreEachBenchmark::run_one_body_energy ( core::Real  scaleFactor)
inline
void ScoreEachBenchmark::run_short_ranged_two_body_energy ( core::Real  scaleFactor)
inline
virtual void ScoreEachBenchmark::set_scorefxn ( core::scoring::ScoreFunctionOP  scorefxn)
inlinevirtual
void ScoreEachBenchmark::setUp ( )
inlineoverridevirtual
void ScoreEachBenchmark::tearDown ( )
inlineoverridevirtual

Reimplemented from PerformanceBenchmark.

References enmeth_, pose_, and scorefxn_.

Member Data Documentation

core::Size ScoreEachBenchmark::base_scale_factor_
private
bool ScoreEachBenchmark::centroid_
private

Referenced by setUp().

core::scoring::methods::EnergyMethodOP ScoreEachBenchmark::enmeth_
private
core::scoring::methods::EnergyMethodType ScoreEachBenchmark::enmethtype_
private

Referenced by run(), and setUp().

std::string ScoreEachBenchmark::in_file_
private

Referenced by setUp().

core::pose::PoseOP ScoreEachBenchmark::pose_
private
core::scoring::ScoreType ScoreEachBenchmark::score_type_
private
core::scoring::ScoreFunctionOP ScoreEachBenchmark::scorefxn_
private
bool ScoreEachBenchmark::setup_successful_
private

Referenced by run(), and setUp().


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