Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Static Public Member Functions | Static Private Member Functions | List of all members
core::scoring::ScoreFunctionFactory Class Reference

a collection of functions making a single score_function More...

#include <ScoreFunctionFactory.hh>

Public Types

typedef
core::scoring::symmetry::SymmetricScoreFunction 
SymmetricScoreFunction
 

Static Public Member Functions

static ScoreFunctionOP create_score_function (std::string weights_tag)
 Returns a ScoreFunction from the database weights file <weights_tag> More...
 
static ScoreFunctionOP create_score_function (std::string weights_tag, std::string const &patch_tag)
 Returns a ScoreFunction from the database weights file <weights_tag> with the patch <patch_tag> More...
 
static ScoreFunctionOP create_score_function (std::string weights_tag, utility::vector1< std::string > patch_tags)
 Returns a ScoreFunction from the database weights file <weights_tag> with patches in <patch_tags> More...
 

Static Private Member Functions

static void apply_user_defined_reweighting_ (core::scoring::ScoreFunctionOP scorefxn)
 Applies user defined re-weighting from the options system. Reweights are applied as a factor of the original, so -rg_reweight 0.5 would result in half of the previously defined rg weight. More...
 
static void load_weights_file (std::string weights_tag, ScoreFunctionOP scorefxn)
 

Detailed Description

a collection of functions making a single score_function

Member Typedef Documentation

Member Function Documentation

void core::scoring::ScoreFunctionFactory::apply_user_defined_reweighting_ ( core::scoring::ScoreFunctionOP  scorefxn)
staticprivate

Applies user defined re-weighting from the options system. Reweights are applied as a factor of the original, so -rg_reweight 0.5 would result in half of the previously defined rg weight.

References core::scoring::ref, core::scoring::rg, core::scoring::score_type_from_name(), core::scoring::hbonds::t(), and core::scoring::tr().

Referenced by create_score_function().

ScoreFunctionOP core::scoring::ScoreFunctionFactory::create_score_function ( std::string  weights_tag)
static

Returns a ScoreFunction from the database weights file <weights_tag>

example(s): scorefxn = create_score_function('standard') See also: ScoreFunction ScoreFunction.show ScoreFunction.weights ScoreType

References create_score_function().

Referenced by protocols::simple_filters::ExtraScoreEvaluatorCreator::add_evaluators(), protocols::hotspot_hashing::HotspotStubSet::add_hotspot_constraints_to_pose(), protocols::comparative_modeling::LoopRelaxThreadingMover::apply(), protocols::dna::DnaInterfaceMinMover::apply(), protocols::protein_interface_design::movers::BuildAlaPose::apply(), protocols::protein_interface_design::movers::InterfaceRecapitulationMover::apply(), protocols::simple_moves::SetReturningPackRotamersMover::apply(), protocols::abinitio::DomainAssembly::apply(), protocols::protein_interface_design::movers::BestHotspotCstMover::apply(), protocols::antibody::AntibodyModeler::apply(), protocols::abinitio::AbrelaxMover::apply(), protocols::rna::RNA_Relaxer::apply(), protocols::protein_interface_design::movers::PlacementAuctionMover::apply(), protocols::antibody2::LHSnugFitLegacy::apply(), protocols::coarse_rna::CoarseRNA_DeNovoProtocol::apply(), protocols::loops::loop_mover::refine::LoopMover_Refine_Backrub::apply(), protocols::simple_filters::TruncatedScoreEvaluator::apply(), protocols::simple_moves::MinPackMover::apply(), protocols::forge::remodel::RemodelAccumulator::apply(), protocols::protein_interface_design::movers::PlaceStubMover::apply(), protocols::antibody::GraftMover::apply(), protocols::enzdes::PredesignPerturbMover::apply(), protocols::forge::remodel::RemodelMover::apply(), protocols::relax::RelaxProtocolBase::apply_disulfides(), protocols::dna::argrot_dna_dis2(), protocols::simple_moves::asym_fold_and_dock::AsymFoldandDockRbTrialMover::AsymFoldandDockRbTrialMover(), protocols::rbsegment_relax::AutoRBMover::AutoRBMover(), protocols::jumping::ResiduePairJump::build_sidechain_rotamers(), protocols::analysis::InterfaceAnalyzerMover::calc_centroid_dG(), protocols::ub_e2c::ubi_e2c_modeler::calc_interaction_energy(), protocols::relax::CentroidRelax::CentroidRelax(), protocols::rna::check_base_pair(), protocols::antibody::CloseOneMover::close_one_loop_stem(), protocols::optimize_weights::IterativeOptEDriver::collect_decoy_discrimination_data(), protocols::simple_filters::TerminusDistanceFilter::compute(), protocols::protein_interface_design::filters::SequenceRecoveryFilter::compute(), protocols::simple_filters::ResiduesInInterfaceFilter::compute(), protocols::protein_interface_design::filters::HbondsToResidueFilter::compute(), protocols::fldsgn::filters::CoreDunbrackFilter::compute(), protocols::sasa_scores::compute_avge_scores(), protocols::hotspot_hashing::HotspotStubSet::create_hotspot_after_pose(), protocols::protein_interface_design::movers::MapHotspot::create_rotamer_set(), create_score_function(), protocols::ddG_main(), protocols::jd2::archive::DebugArchive::DebugArchive(), protocols::forge::remodel::RemodelMover::design_refine(), protocols::forge::remodel::RemodelMover::design_refine_seq_relax(), protocols::abinitio::IterativeBase::do_dynamic_patching(), protocols::docking::DockingHighRes::DockingHighRes(), protocols::docking::DockingHighResFilter::DockingHighResFilter(), protocols::docking::DockingSlideIntoContact::DockingSlideIntoContact(), protocols::enzdes::EnzdesBaseProtocol::EnzdesBaseProtocol(), protocols::ub_e2c::ubi_e2c_modeler::evaluate_native(), protocols::hotspot_hashing::HotspotStubSet::fill(), protocols::antibody2::GraftOneCDRLoop::finalize_setup(), protocols::antibody2::RefineOneCDRLoopCentroid::finalize_setup(), protocols::docking::DockingEnsemblePrepackProtocol::finalize_setup(), protocols::protein_interface_design::find_lowest_constraint_energy_residue(), protocols::floppy_tail::FloppyTailMover::FloppyTailMover(), protocols::jd2::DockDesignParser::generate_mover_from_pose(), protocols::abinitio::AbrelaxApplication::generate_scorefxn(), protocols::protein_interface_design::movers::MapHotspot::GenerateMap(), protocols::antibody2::get_Dock_ScoreFxn(), protocols::vip::VIP_Report::get_GOE_relaxed_report(), protocols::vip::VIP_Report::get_GOE_repack_report(), protocols::antibody2::get_LoopCentral_ScoreFxn(), protocols::antibody2::get_LoopHighRes_ScoreFxn(), protocols::rna::get_number_base_stacks(), protocols::antibody2::get_Pack_ScoreFxn(), core::scoring::getScoreFunction(), hbonded(), protocols::motifs::IRCollection::incorporate_motifs(), protocols::motifs::MotifSearch::incorporate_motifs(), protocols::motifs::LigandMotifSearch::incorporate_motifs(), protocols::hybridization::HybridizeProtocol::init(), protocols::seeded_abinitio::SegmentHybridizer::init(), protocols::hybridization::CartesianSampler::init(), protocols::hybridization::CartesianHybridize::init(), protocols::hybridization::FoldTreeHybridize::init(), protocols::antibody2::CDRsMinPackMin::init(), protocols::antibody2::RefineBetaBarrel::init(), protocols::docking::DockingLowRes::init(), protocols::docking::DockingProtocol::init(), protocols::docking::TemperedDocking::init_from_options(), protocols::abinitio::IterativeFullatom::initialize(), protocols::dna::DnaInterfaceMultiStateDesign::initialize(), protocols::abinitio::IterativeBase::initialize(), protocols::canonical_sampling::HamiltonianExchange::initialize_from_file(), protocols::rna::RNA_DeNovoProtocol::initialize_scorefxn(), protocols::ligand_docking::LigandBaseProtocol::LigandBaseProtocol(), protocols::jd2::parser::ScoreFunctionLoader::load_data(), protocols::rna::RNA_Relaxer::lores_monte_carlo(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::minimize_all(), protocols::vip::VIP_Mover::minimize_conformation(), protocols::ub_e2c::ubi_e2c_modeler::monoub_calc_interaction_energy(), protocols::motifs::mutate_loops_for_search(), core::pack::optimize_H_and_notify(), core::pack::pack_missing_sidechains(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::pair_sets_with_positions(), protocols::protein_interface_design::movers::PlaceStubMover::parse_my_tag(), protocols::protein_interface_design::movers::PlaceSimultaneouslyMover::parse_my_tag(), protocols::protein_interface_design::movers::parse_stub_sets(), protocols::toolbox::PyReturnValuePolicyTest_ScoreFunctionCOP(), protocols::toolbox::PyReturnValuePolicyTest_ScoreFunctionOP(), protocols::RBSegmentRelaxImpl::RBSegmentRelaxImpl(), protocols::forge::remodel::RemodelAccumulator::recover_checkpoint(), protocols::antibody::AntibodyModeler::relax_cdrs(), protocols::vip::VIP_Mover::relax_favorable_poses(), protocols::forge::remodel::RemodelEnzdesCstModule::RemodelEnzdesCstModule(), protocols::forge::remodel::RemodelMover::RemodelMover(), protocols::antibody::AntibodyModeler::repulsive_ramp(), protocols::relax::WorkUnit_BatchRelax_and_PostRescore::rescore_all_decoys(), protocols::abinitio::IterativeBase::rescore_nonlocal_archive(), protocols::forge::methods::restore_residues(), protocols::rna::RNA_Minimizer::RNA_Minimizer(), protocols::hybridization::DomainAssembly::run(), protocols::medal::MedalMover::score_function(), protocols::simple_moves::ScoreMover::ScoreMover(), protocols::enzdes::SecondaryMatchProtocol::SecondaryMatchProtocol(), protocols::relax::CentroidRelax::set_cartesian(), protocols::ub_e2c::ubi_e2c_modeler::set_default(), protocols::antibody2::ModelCDRH3::set_default(), protocols::flexpep_docking::FlexPepDockingProtocol::set_default(), protocols::symmetric_docking::SymDockProtocol::set_default(), protocols::antibody2::LHRepulsiveRampLegacy::set_default(), protocols::docking::DockMCMCycle::set_default(), protocols::antibody::CDRH3Modeler::set_default(), protocols::antibody2::H3PerturbCCD::set_default(), protocols::antibody2::RefineOneCDRLoop::set_default(), protocols::antibody2::H3RefineCCD::set_default(), protocols::antibody::LoopRlxMover::set_default(), protocols::symmetric_docking::SymSidechainMinMover::set_default_options(), protocols::abinitio::ClassicAbinitio::set_default_scores(), protocols::abinitio::MembraneAbinitio::set_default_scores(), protocols::abinitio::FragmentSampler::set_default_scores(), protocols::grafting::AnchoredGraftMover::set_use_smooth_centroid_settings(), protocols::simple_moves::symmetry::SymPackRotamersMover::setup(), protocols::simple_moves::symmetry::SymmetrySlider::setup(), protocols::simple_moves::PackRotamersMover::setup(), protocols::swa::protein::StepWiseProteinScreener::setup_centroid_screen(), protocols::surface_docking::CentroidRelaxMover::setup_defaults(), protocols::surface_docking::FullatomRelaxMover::setup_defaults(), protocols::simple_moves::symmetry::SymShakeStructureMover::setup_for_run(), protocols::simple_moves::ShakeStructureMover::setup_for_run(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::setup_frag_scorefxn(), protocols::antibody2::SnugDockProtocol::setup_loop_refinement_movers(), protocols::antibody2::GraftCDRLoopsProtocol::setup_objects(), protocols::antibody2::AntibodyModelerProtocol::setup_objects(), protocols::star::setup_score(), protocols::docking::SidechainMinMover::SidechainMinMover(), protocols::surface_docking::SlideIntoSurface::SlideIntoSurface(), protocols::antibody::AntibodyModeler::snugfit_mcm_protocol(), protocols::vip::VIP_Mover::sort_fill_energies(), protocols::star::StarAbinitio::StarAbinitio(), protocols::protein_interface_design::movers::PlaceStubMover::StubMinimize(), protocols::motifs::IRCollection::successful_loop_closure(), protocols::surface_docking::SurfaceDockingProtocol::SurfaceDockingProtocol(), protocols::symmetric_docking::SymDockBaseProtocol::SymDockBaseProtocol(), protocols::symmetric_docking::SymDockingHiRes::SymDockingHiRes(), protocols::simple_moves::symmetry::SymDockingSlideIntoContact::SymDockingSlideIntoContact(), protocols::symmetric_docking::SymFoldandDockRbTrialMover::SymFoldandDockRbTrialMover(), protocols::simple_moves::symmetry::SymmetrySlider::SymmetrySlider(), protocols::rna::RNA_LoopCloser::tight_minimize(), protocols::motifs::IRCollection::try_for_more(), and protocols::vip::VIP_Mover::try_point_mutants().

ScoreFunctionOP core::scoring::ScoreFunctionFactory::create_score_function ( std::string  weights_tag,
std::string const &  patch_tag 
)
static

Returns a ScoreFunction from the database weights file <weights_tag> with the patch <patch_tag>

example(s): See also: ScoreFunction ScoreFunction.show ScoreFunction.weights ScoreType

References create_score_function().

ScoreFunctionOP core::scoring::ScoreFunctionFactory::create_score_function ( std::string  weights_tag,
utility::vector1< std::string >  patch_tags 
)
static

Returns a ScoreFunction from the database weights file <weights_tag> with patches in <patch_tags>

References apply_user_defined_reweighting_(), load_weights_file(), core::scoring::SCORE12_PATCH, and core::scoring::STANDARD_WTS.

void core::scoring::ScoreFunctionFactory::load_weights_file ( std::string  weights_tag,
ScoreFunctionOP  scorefxn 
)
staticprivate

Referenced by create_score_function().


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