|
Rosetta 3.5
|
#include <CartesianSampler.hh>


Public Member Functions | |
| CartesianSampler () | |
| CartesianSampler (utility::vector1< core::fragment::FragSetOP > fragments_in) | |
| void | init () |
| void | apply (core::pose::Pose &pose) |
| void | set_scorefunction (core::scoring::ScoreFunctionOP scorefxn_in) |
| void | set_ncycles (core::Size ncycles_in) |
| void | set_overlap (core::Size overlap_in) |
| std::string | get_name () const |
| Each derived class must specify its name. The class name. More... | |
| void | parse_my_tag (utility::tag::TagPtr const tag, moves::DataMap &data, filters::Filters_map const &, moves::Movers_map const &, core::pose::Pose const &pose) |
| Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
| virtual protocols::moves::MoverOP | clone () const |
| clone has to be overridden only if clone invocation is expected. More... | |
| virtual protocols::moves::MoverOP | fresh_instance () const |
| this is like clone(), except it generates a new mover object freshly created with the default ctor. This function should be pure virtual but that would disrupt the code base; MAKE SURE YOU DEFINE IT if you want to have your mover be a protocol handed to the job distributor (august 08 vintage). More... | |
Public Member Functions inherited from protocols::moves::Mover | |
| Mover () | |
| virtual | ~Mover () |
| virtual MoverSP | create () |
| virtual void | apply (core::io::serialization::PipeMap &pmap) |
| virtual void | parse_state (SerializableState const &state) |
| virtual void | parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks, MoverCacheSP cache) |
| virtual void | save_state (SerializableState &state) |
| Mover (std::string const &type_name) | |
| sets the type for a mover; name_ has been removed (2010/05/14) More... | |
| Mover (Mover const &other) | |
| Mover & | operator= (Mover const &other) |
| assignment operator More... | |
| virtual core::Real | last_proposal_density_ratio () |
| std::string const & | type () const |
| std::string | get_current_tag () const |
| A tag is a unique identifier used to identify structures produced by this Mover. get_current_tag() returns the tag, and set_current_tag( std::string tag ) sets the tag. This functionality is not intended for use with the 2008 job distributor. More... | |
| void | set_current_tag (std::string const &new_tag) |
| virtual void | set_input_pose (PoseCOP pose) |
| setter for poses contained for rms More... | |
| virtual void | set_native_pose (PoseCOP pose) |
| setter for native poses contained for rms -— we should get rid of this method? it is widely used, but a bit unsafe More... | |
| PoseCOP | get_input_pose () const |
| PoseCOP | get_native_pose () const |
| virtual void | test_move (Pose &pose) |
| : Unit test support function. Apply one move to a given pose. Allows extra test specific functions to be called before applying More... | |
| void | type (const std::string &type_in) |
| std::string | get_type () const |
| MoverStatus | get_last_move_status () const |
| end parser interface, start Job Distributor interface///////////// More... | |
| void | reset_status () |
| resets status to SUCCESS, meant to be used before an apply(). The job distributor (august 08 vintage) uses this to ensure non-accumulation of status across apply()s. More... | |
| virtual core::pose::PoseOP | get_additional_output () |
| Mechanism by which a mover may return multiple output poses from a single input pose. More... | |
| virtual void | clear_info () |
| Strings container can be used to return miscellaneous info (as std::string) from a mover, such as notes about the results of apply(). The job distributor (Apr 09 vintage) will check this function to see if your protocol wants to add string info to the Job that ran this mover. One way this can be useful is that later, a JobOutputter may include/append this info to an output file. More... | |
| virtual Strings & | info () |
| non-const accessor More... | |
| virtual Strings const & | info () const |
| const accessor More... | |
| virtual bool | reinitialize_for_each_job () const |
| this function informs the job distributor (august 08 vintage) whether this object needs to be freshly regenerated on each use. More... | |
| virtual bool | reinitialize_for_new_input () const |
| this function informs the job distributor (august 08 vintage) whether this object needs to be regenerated when the input pose is about to change (for example, if the mover has special code on the first apply() that is only valid for that one input pose). More... | |
| void | set_current_job (protocols::jobdist::BasicJobCOP job) |
| jobdist::BasicJobCOP | get_current_job () const |
Protected Member Functions | |
| void | apply_frame (core::pose::Pose &pose, core::fragment::Frame &frame) |
| void | compute_fragment_bias (core::pose::Pose &pose) |
| void | update_fragment_library_pointers () |
Protected Member Functions inherited from protocols::moves::Mover | |
| void | set_last_move_status (MoverStatus status) |
| nonvirtual setter for MoverStatus last_status_. Protected means that only the mover itself will be able to change its own status. The job distributor (august 08 vintage) is aware of status set with this function and will do what the MoverStatus says. More... | |
Private Attributes | |
| core::Size | ncycles_ |
| core::Size | overlap_ |
| utility::vector1 < core::fragment::FragSetOP > | fragments_ |
| utility::vector1 < boost::unordered_map < core::Size, core::fragment::Frame > > | library_ |
| std::string | fragment_bias_strategy_ |
| utility::vector1 < numeric::random::WeightedSampler > | frag_bias_ |
| std::set< core::Size > | user_pos_ |
| core::scoring::ScoreFunctionOP | scorefxn_ |
Additional Inherited Members | |
Public Types inherited from protocols::moves::Mover | |
| typedef utility::tag::TagPtr | TagPtr |
| typedef core::pose::Pose | Pose |
| typedef core::pose::PoseCOP | PoseCOP |
| typedef protocols::filters::Filters_map | Filters_map |
| typedef std::list< std::string > | Strings |
Static Public Member Functions inherited from protocols::moves::Mover | |
| static std::string | name () |
| static void | register_options () |
| overload this static method if you access options within the mover. these options will end up in -help of your application if users of this mover call register_options. do this recursively! if you use movers within your mover, call their register_options in your register_options() method. More... | |
Definition at line 57 of file CartesianSampler.hh.
| protocols::hybridization::CartesianSampler::CartesianSampler | ( | ) |
Definition at line 143 of file CartesianSampler.cc.
References init().
Referenced by clone(), and fresh_instance().
| protocols::hybridization::CartesianSampler::CartesianSampler | ( | utility::vector1< core::fragment::FragSetOP > | fragments_in) |
Definition at line 147 of file CartesianSampler.cc.
References fragments_, init(), and update_fragment_library_pointers().
|
virtual |
Implements protocols::moves::Mover.
Definition at line 425 of file CartesianSampler.cc.
References core::conformation::Residue::aa(), core::chemical::aa_vrt, apply_frame(), core::chemical::CENTROID, compute_fragment_bias(), protocols::hybridization::create_fragment_set(), core::sequence::end, core::chemical::FA_STANDARD, frag_bias_, fragments_, core::pose::Pose::is_fullatom(), core::conformation::Residue::is_protein(), core::pose::symmetry::is_symmetric(), library_, core::pose::symmetry::make_symmetric_movemap(), core::optimization::MinimizerOptions::max_iter(), ncycles_, core::pose::Pose::residue(), protocols::hybridization::RG(), scorefxn_, core::kinematics::MoveMap::set_bb(), core::pose::Pose::total_residue(), and update_fragment_library_pointers().
|
protected |
Definition at line 187 of file CartesianSampler.cc.
References core::fragment::Frame::apply(), core::conformation::Residue::atom(), core::pose::Pose::conformation(), core::sequence::end, core::pose::Pose::fold_tree(), core::conformation::idealize_position(), core::kinematics::FoldTree::is_cutpoint(), core::conformation::Residue::is_protein(), core::pose::symmetry::is_symmetric(), core::fragment::Frame::length(), core::chemical::ResidueType::natoms(), core::fragment::Frame::nr_frags(), overlap_, core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::scoring::rms, core::pose::Pose::set_xyz(), core::fragment::Frame::start(), protocols::loops::start, core::conformation::symmetry::SymmetricConformation::Symmetry_Info(), core::pose::Pose::total_residue(), core::conformation::Atom::xyz(), and core::pose::Pose::xyz().
Referenced by apply().
|
virtual |
clone has to be overridden only if clone invocation is expected.
clone is meant to return an OP'ed deep copy of this object. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function.
Reimplemented from protocols::moves::Mover.
Definition at line 183 of file CartesianSampler.cc.
References CartesianSampler().
|
protected |
Definition at line 296 of file CartesianSampler.cc.
References core::pose::Pose::conformation(), core::scoring::elec_dens_window, core::pose::Pose::energies(), core::scoring::fa_rep, frag_bias_, fragment_bias_strategy_, fragments_, core::scoring::electron_density::getDensityMap(), core::pose::Pose::is_fullatom(), core::conformation::Residue::is_protein(), core::pose::symmetry::is_symmetric(), core::chemical::ResidueType::last_backbone_atom(), core::scoring::electron_density::ElectronDensity::matchRes(), core::pose::Pose::pdb_info(), core::scoring::rama, core::pose::Pose::residue(), core::pose::Pose::residue_type(), core::scoring::electron_density::ElectronDensity::setScoreWindowContext(), core::scoring::electron_density::ElectronDensity::setWindow(), core::conformation::symmetry::SymmetricConformation::Symmetry_Info(), core::pose::Pose::total_residue(), protocols::hybridization::TR(), user_pos_, and core::scoring::vdw.
Referenced by apply().
|
virtual |
this is like clone(), except it generates a new mover object freshly created with the default ctor. This function should be pure virtual but that would disrupt the code base; MAKE SURE YOU DEFINE IT if you want to have your mover be a protocol handed to the job distributor (august 08 vintage).
fresh_instance is meant to return a new object of this class, created with the default constructor. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function. This is used by the August 08 job distributor.
Reimplemented from protocols::moves::Mover.
Definition at line 184 of file CartesianSampler.cc.
References CartesianSampler().
|
inlinevirtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
Definition at line 75 of file CartesianSampler.hh.
| void protocols::hybridization::CartesianSampler::init | ( | void | ) |
Definition at line 156 of file CartesianSampler.cc.
References core::scoring::ScoreFunctionFactory::create_score_function(), fragment_bias_strategy_, ncycles_, overlap_, and set_scorefunction().
Referenced by CartesianSampler().
|
virtual |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing.
Some movers need not be parsed, so we shouldn't stop executions. This, however, calls attention to the lack of this method, which could be due to something as silly as a wrong parameters definition.
Reimplemented from protocols::moves::Mover.
Definition at line 508 of file CartesianSampler.cc.
References protocols::hybridization::create_fragment_set(), fragment_bias_strategy_, fragments_, protocols::moves::DataMap::get(), core::pose::get_resnum_list(), ncycles_, overlap_, set_scorefunction(), update_fragment_library_pointers(), and user_pos_.
|
inline |
Definition at line 72 of file CartesianSampler.hh.
|
inline |
Definition at line 73 of file CartesianSampler.hh.
|
inline |
Definition at line 69 of file CartesianSampler.hh.
Referenced by init(), and parse_my_tag().
|
protected |
Definition at line 170 of file CartesianSampler.cc.
References fragments_, and library_.
Referenced by apply(), CartesianSampler(), and parse_my_tag().
|
private |
Definition at line 106 of file CartesianSampler.hh.
Referenced by apply(), and compute_fragment_bias().
|
private |
Definition at line 105 of file CartesianSampler.hh.
Referenced by compute_fragment_bias(), init(), and parse_my_tag().
|
private |
Definition at line 101 of file CartesianSampler.hh.
Referenced by apply(), CartesianSampler(), compute_fragment_bias(), parse_my_tag(), and update_fragment_library_pointers().
|
private |
Definition at line 102 of file CartesianSampler.hh.
Referenced by apply(), and update_fragment_library_pointers().
|
private |
Definition at line 98 of file CartesianSampler.hh.
Referenced by apply(), init(), and parse_my_tag().
|
private |
Definition at line 98 of file CartesianSampler.hh.
Referenced by apply_frame(), init(), and parse_my_tag().
|
private |
Definition at line 110 of file CartesianSampler.hh.
Referenced by apply().
|
private |
Definition at line 107 of file CartesianSampler.hh.
Referenced by compute_fragment_bias(), and parse_my_tag().
1.8.4