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

◆ run()

void ScoreEachBenchmark::run ( core::Real  scaleFactor)
inlineoverridevirtual

◆ run_long_ranged_two_body_energy()

void ScoreEachBenchmark::run_long_ranged_two_body_energy ( core::Real  scaleFactor)
inline

◆ run_one_body_energy()

void ScoreEachBenchmark::run_one_body_energy ( core::Real  scaleFactor)
inline

◆ run_short_ranged_two_body_energy()

void ScoreEachBenchmark::run_short_ranged_two_body_energy ( core::Real  scaleFactor)
inline

◆ set_scorefxn()

virtual void ScoreEachBenchmark::set_scorefxn ( core::scoring::ScoreFunctionOP  scorefxn)
inlinevirtual

◆ setUp()

void ScoreEachBenchmark::setUp ( )
inlineoverridevirtual

◆ tearDown()

void ScoreEachBenchmark::tearDown ( )
inlineoverridevirtual

Reimplemented from PerformanceBenchmark.

References enmeth_, pose_, and scorefxn_.

Member Data Documentation

◆ base_scale_factor_

core::Size ScoreEachBenchmark::base_scale_factor_
private

◆ centroid_

bool ScoreEachBenchmark::centroid_
private

Referenced by setUp().

◆ enmeth_

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

◆ enmethtype_

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

Referenced by run(), and setUp().

◆ in_file_

std::string ScoreEachBenchmark::in_file_
private

Referenced by setUp().

◆ pose_

core::pose::PoseOP ScoreEachBenchmark::pose_
private

◆ score_type_

core::scoring::ScoreType ScoreEachBenchmark::score_type_
private

◆ scorefxn_

core::scoring::ScoreFunctionOP ScoreEachBenchmark::scorefxn_
private

◆ setup_successful_

bool ScoreEachBenchmark::setup_successful_
private

Referenced by run(), and setUp().


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