Rosetta  3.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
protocols::helical_bundle::BundleGridSampler Class Reference

#include <BundleGridSampler.hh>

Inheritance diagram for protocols::helical_bundle::BundleGridSampler:
Inheritance graph
[legend]

Public Types

typedef
core::conformation::parametric::Parameters 
Parameters
 
typedef
core::conformation::parametric::ParametersOP 
ParametersOP
 
typedef
core::conformation::parametric::ParametersSet 
ParametersSet
 
typedef
core::conformation::parametric::ParametersSetOP 
ParametersSetOP
 
typedef
protocols::helical_bundle::parameters::BundleParameters 
BundleParameters
 
typedef
protocols::helical_bundle::parameters::BundleParametersOP 
BundleParametersOP
 
typedef
protocols::helical_bundle::parameters::BundleParametersCOP 
BundleParametersCOP
 
typedef
protocols::helical_bundle::parameters::BundleParametersSet 
BundleParametersSet
 
typedef
protocols::helical_bundle::parameters::BundleParametersSetOP 
BundleParametersSetOP
 
typedef
protocols::helical_bundle::parameters::BundleParametersSetCOP 
BundleParametersSetCOP
 
- Public Types inherited from protocols::moves::Mover
typedef utility::tag::TagCOP TagCOP
 
typedef core::pose::Pose Pose
 
typedef core::pose::PoseCOP PoseCOP
 
typedef
protocols::filters::Filters_map 
Filters_map
 
typedef std::list< std::string > Strings
 

Public Member Functions

 BundleGridSampler ()
 Creator for BundleGridSampler mover. More...
 
 BundleGridSampler (BundleGridSampler const &src)
 Copy constructor for BundleGridSampler mover. More...
 
 ~BundleGridSampler () override
 Destructor for BundleGridSampler mover. More...
 
protocols::moves::MoverOP clone () const override
 Clone operator to create a pointer to a fresh BundleGridSampler object that copies this one. More...
 
protocols::moves::MoverOP fresh_instance () const override
 Fresh_instance operator to create a pointer to a fresh BundleGridSampler object that does NOT copy this one. More...
 
void apply (core::pose::Pose &pose) override
 Actually apply the mover to the pose. More...
 
void parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &data, protocols::filters::Filters_map const &filters, protocols::moves::Movers_map const &movers, core::pose::Pose const &) override
 Returns the name of this mover ("BundleGridSampler"). More...
 
void set_reset_mode (bool const val)
 Set the reset mode. More...
 
bool reset_mode () const
 Get the reset mode. More...
 
PerturbBundleOptionsOP r0 (core::Size const index)
 Access the r0_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP r0 (core::Size const index) const
 Access the r0_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP omega0 (core::Size const index)
 Access the omega0_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP omega0 (core::Size const index) const
 Access the omega0_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP delta_omega0 (core::Size const index)
 Access the delta_omega0_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP delta_omega0 (core::Size const index) const
 Access the delta_omega0_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP delta_omega1 (core::Size const index)
 Access the delta_omega1_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP delta_omega1 (core::Size const index) const
 Access the delta_omega1_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP delta_t (core::Size const index)
 Access the delta_t_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP delta_t (core::Size const index) const
 Access the delta_t_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP z1_offset (core::Size const index)
 Access the z1_offset_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP z1_offset (core::Size const index) const
 Access the z1_offset_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP z0_offset (core::Size const index)
 Access the z0_offset_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP z0_offset (core::Size const index) const
 Access the z0_offset_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP epsilon (core::Size const index)
 Access the epsilon_ BundleOptions object, by index. More...
 
PerturbBundleOptionsCOP epsilon (core::Size const index) const
 Access the epsilon_ BundleOptions object, by index. This provides const access. More...
 
PerturbBundleOptionsOP default_r0 ()
 Access the default_r0_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_r0 () const
 Access the default_r0_ BundleOptions object (const-access). More...
 
PerturbBundleOptionsOP default_omega0 ()
 Access the default_omega0_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_omega0 () const
 Access the default_omega0_ BundleOptions object (const-access). More...
 
PerturbBundleOptionsOP default_delta_omega0 ()
 Access the default_delta_omega0_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_delta_omega0 () const
 Access the default_delta_omega0_ BundleOptions object (const-access). More...
 
PerturbBundleOptionsOP default_delta_omega1 ()
 Access the default_delta_omega1_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_delta_omega1 () const
 Access the default_delta_omega1_ BundleOptions object (const-access). More...
 
PerturbBundleOptionsOP default_delta_t ()
 Access the default_delta_t_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_delta_t () const
 Access the default_delta_t_ BundleOptions object (const-access). More...
 
PerturbBundleOptionsOP default_z1_offset ()
 Access the default_z1_offset_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_z1_offset () const
 Access the default_z1_offset_ BundleOptions object (const-access). More...
 
PerturbBundleOptionsOP default_z0_offset ()
 Access the default_z0_offset_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_z0_offset () const
 Access the default_z0_offset_ BundleOptions object (const-access). More...
 
PerturbBundleOptionsOP default_epsilon ()
 Access the default_epsilon_ BundleOptions object. More...
 
PerturbBundleOptionsCOP default_epsilon () const
 Access the default_epsilon_ BundleOptions object (const-access). More...
 
core::Size add_helix ()
 Add options for a new helix. More...
 
void set_max_samples (core::Size const val)
 Set the maximum number of samples for the mover. More...
 
core::Size max_samples () const
 Get the maximum number of samples for the mover. More...
 
void increment_helix_count ()
 Increments the number of helices that have been defined. More...
 
core::Size n_helices () const
 Returns the number of helices that have been defined. More...
 
void set_selection_low (bool const val)
 Sets whether the selection should be for the lowest score value (true) or highest (false). More...
 
bool selection_low ()
 Returns whether the selection should be for the lowest score value (true) or highest (false). More...
 
void set_preselection_mover (protocols::moves::MoverOP mover)
 Sets the mover that will be applied to all helical bundles generated prior to energy evaluation. More...
 
void set_preselection_filter (protocols::filters::FilterOP filter)
 Sets the filter that will be applied to all helical bundles generated prior to energy evaluation. More...
 
bool preselection_mover_exists () const
 Returns "true" if and only if a preselection mover has been assigned. More...
 
bool preselection_filter_exists () const
 Returns "true" if and only if a preselection filter has been assigned. More...
 
void set_pdb_output (bool const val)
 Set whether the mover dumps pdbs or not. More...
 
bool pdb_output () const
 Returns whether the mover dumps pdbs or not. More...
 
void set_pdb_prefix (std::string const &prefix)
 Sets the filename prefix for PDB output. More...
 
std::string pdb_prefix ()
 Access the filename prefix for PDB output. More...
 
void set_sfxn (core::scoring::ScoreFunctionOP sfxn_in)
 Sets the scorefunction for this mover. More...
 
bool sfxn_set () const
 Returns whether the scorefunction has been set. More...
 
void set_nstruct_mode (bool const &val)
 Set the nstruct mode. More...
 
bool nstruct_mode () const
 Get the nstruct mode. More...
 
void set_nstruct_repeats (core::Size const val)
 Set the nstruct repeats. More...
 
core::Size nstruct_repeats () const
 Get the nstruct repeats. More...
 
std::string get_name () const override
 Each derived class must specify its name. The class name. More...
 
- Public Member Functions inherited from protocols::moves::Mover
 Mover ()
 
 ~Mover () override
 
virtual MoverOP create ()
 
MoverCOP get_self_ptr () const
 
MoverOP get_self_ptr ()
 
MoverCAP get_self_weak_ptr () const
 
MoverAP get_self_weak_ptr ()
 
 Mover (std::string type_name)
 sets the type for a mover; name_ has been removed (2010/05/14) More...
 
 Mover (Mover const &other)
 
Moveroperator= (Mover const &other)
 assignment operator More...
 
virtual core::Real last_proposal_density_ratio ()
 
std::string const & type () const
 
void set_type (std::string const &setting)
 
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...
 
virtual 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 Stringsinfo ()
 non-const accessor More...
 
virtual Strings const & info () const
 const accessor More...
 
virtual bool reinitialize_for_each_job () const
 Inform 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
 Inform 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
 
virtual void show (std::ostream &output=std::cout) const
 Outputs details about the Mover, including current settings. More...
 

Static Public Member Functions

static std::string mover_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 
- 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. More...
 

Private Member Functions

bool is_in_list (core::Size const val, utility::vector1< core::Size > const &list) const
 Is a value in a list? More...
 
core::Size calculate_total_samples () const
 Calculate the number of grid points that will be sampled, based on the options set by the user. More...
 

Private Attributes

bool reset_mode_
 Should the pose be reset before applying the GridSampler? Default true. More...
 
bool nstruct_mode_
 Should the parallel sampling be done based on the job (nstruct number)? More...
 
core::Size nstruct_mode_repeats_
 If nstruct_mode_ is true, how many times should each set of Crick parameters be repeated? More...
 
bool select_low_
 The selection type. If false, the pose with the highest score value is selected. If true, the pose with the lowest score value is selected. True by default. More...
 
core::Size n_helices_
 The number of helices that have been defined. More...
 
core::Size max_samples_
 The maximum number of gridpoints allowed. More...
 
PerturbBundleOptionsOP default_r0_
 Default options for sampling r0. More...
 
PerturbBundleOptionsOPs r0_
 Helix-by-helix options for sampling r0. More...
 
PerturbBundleOptionsOP default_omega0_
 Default options for sampling omega0. More...
 
PerturbBundleOptionsOPs omega0_
 Helix-by-helix options for sampling omega0. More...
 
PerturbBundleOptionsOP default_delta_omega0_
 Default options for sampling delta_omega0. More...
 
PerturbBundleOptionsOPs delta_omega0_
 Helix-by-helix options for sampling delta_omega0. More...
 
PerturbBundleOptionsOP default_delta_omega1_
 Default options for sampling delta_omega1. More...
 
PerturbBundleOptionsOPs delta_omega1_
 Helix-by-helix options for sampling delta_omega1. More...
 
PerturbBundleOptionsOP default_delta_t_
 Default options for sampling delta_t. More...
 
PerturbBundleOptionsOPs delta_t_
 Helix-by-helix options for sampling delta_t. More...
 
PerturbBundleOptionsOP default_z1_offset_
 Default options for sampling z1_offset. More...
 
PerturbBundleOptionsOPs z1_offset_
 Helix-by-helix options for sampling z1_offset. More...
 
PerturbBundleOptionsOP default_z0_offset_
 Default options for sampling z0_offset. More...
 
PerturbBundleOptionsOPs z0_offset_
 Helix-by-helix options for sampling z0_offset. More...
 
PerturbBundleOptionsOP default_epsilon_
 Default options for sampling epsilon. More...
 
PerturbBundleOptionsOPs epsilon_
 Helix-by-helix options for sampling epsilon. More...
 
MakeBundleOP make_bundle_
 A MakeBundle mover that this mover will call. More...
 
protocols::moves::MoverOP pre_selection_mover_
 Owning pointer for an (optional) pre-selection mover applied to all helical bundles before energy evaluation. More...
 
bool pre_selection_mover_exists_
 Bool determining whether there exists a pre-selection mover that wlil be applied. More...
 
protocols::filters::FilterOP pre_selection_filter_
 Owning pointer for an (optional) pre-selection filter applied to all helical bundles after the pre-selection mover but before picking the lowest-energy solution. If PDBs are dumped, only those passing filters are dumped. More...
 
bool pre_selection_filter_exists_
 Bool determining whether a pre-selection filter has been set. More...
 
bool dump_pdbs_
 Dump a PDB file for each bundle generated? False by default. More...
 
std::string pdb_prefix_
 PDB filename prefix. Filename will be of the form <prefix>_#####.pdb. More...
 
bool sfxn_set_
 Has the scorefunction been set? More...
 
core::scoring::ScoreFunctionOP sfxn_
 The scorefunction that this mover will use to pick the lowest-energy bundle. More...
 

Additional Inherited Members

- 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...
 

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::helical_bundle::BundleGridSampler::BundleGridSampler ( )

Creator for BundleGridSampler mover.

References default_epsilon_.

Referenced by clone().

protocols::helical_bundle::BundleGridSampler::BundleGridSampler ( BundleGridSampler const &  src)

Copy constructor for BundleGridSampler mover.

References delta_omega0_, delta_omega1_, delta_t_, epsilon_, omega0_, r0_, z0_offset_, and z1_offset_.

protocols::helical_bundle::BundleGridSampler::~BundleGridSampler ( )
overridedefault

Destructor for BundleGridSampler mover.

Member Function Documentation

core::Size protocols::helical_bundle::BundleGridSampler::add_helix ( )

Add options for a new helix.

Return value is the current total number of helices after the addition.

References delta_omega0(), delta_omega0_, delta_omega1(), delta_omega1_, delta_t(), delta_t_, epsilon(), epsilon_, increment_helix_count(), make_bundle_, n_helices(), omega0(), omega0_, r0(), r0_, z0_offset(), z0_offset_, z1_offset(), and z1_offset_.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::apply ( core::pose::Pose pose)
overridevirtual
core::Size protocols::helical_bundle::BundleGridSampler::calculate_total_samples ( ) const
private
protocols::moves::MoverOP protocols::helical_bundle::BundleGridSampler::clone ( ) const
overridevirtual

Clone operator to create a pointer to a fresh BundleGridSampler object that copies this one.

Reimplemented from protocols::moves::Mover.

References BundleGridSampler().

Referenced by parse_my_tag().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_delta_omega0 ( )
inline

Access the default_delta_omega0_ BundleOptions object.

References default_delta_omega0_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_delta_omega0 ( ) const
inline

Access the default_delta_omega0_ BundleOptions object (const-access).

References default_delta_omega0_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_delta_omega1 ( )
inline

Access the default_delta_omega1_ BundleOptions object.

References default_delta_omega1_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_delta_omega1 ( ) const
inline

Access the default_delta_omega1_ BundleOptions object (const-access).

References default_delta_omega1_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_delta_t ( )
inline

Access the default_delta_t_ BundleOptions object.

References default_delta_t_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_delta_t ( ) const
inline

Access the default_delta_t_ BundleOptions object (const-access).

References default_delta_t_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_epsilon ( )
inline

Access the default_epsilon_ BundleOptions object.

References default_epsilon_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_epsilon ( ) const
inline

Access the default_epsilon_ BundleOptions object (const-access).

References default_epsilon_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_omega0 ( )
inline

Access the default_omega0_ BundleOptions object.

References default_omega0_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_omega0 ( ) const
inline

Access the default_omega0_ BundleOptions object (const-access).

References default_omega0_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_r0 ( )
inline

Access the default_r0_ BundleOptions object.

References default_r0_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_r0 ( ) const
inline

Access the default_r0_ BundleOptions object (const-access).

References default_r0_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_z0_offset ( )
inline

Access the default_z0_offset_ BundleOptions object.

References default_z0_offset_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_z0_offset ( ) const
inline

Access the default_z0_offset_ BundleOptions object (const-access).

References default_z0_offset_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_z1_offset ( )
inline

Access the default_z1_offset_ BundleOptions object.

References default_z1_offset_.

Referenced by apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::default_z1_offset ( ) const
inline

Access the default_z1_offset_ BundleOptions object (const-access).

References default_z1_offset_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::delta_omega0 ( core::Size const  index)
inline

Access the delta_omega0_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References delta_omega0_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::delta_omega0 ( core::Size const  index) const
inline

Access the delta_omega0_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References delta_omega0_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::delta_omega1 ( core::Size const  index)
inline

Access the delta_omega1_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References delta_omega1_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::delta_omega1 ( core::Size const  index) const
inline

Access the delta_omega1_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References delta_omega1_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::delta_t ( core::Size const  index)
inline

Access the delta_t_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References delta_t_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::delta_t ( core::Size const  index) const
inline

Access the delta_t_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References delta_t_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::epsilon ( core::Size const  index)
inline

Access the epsilon_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References epsilon_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::epsilon ( core::Size const  index) const
inline

Access the epsilon_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References epsilon_.

protocols::moves::MoverOP protocols::helical_bundle::BundleGridSampler::fresh_instance ( ) const
overridevirtual

Fresh_instance operator to create a pointer to a fresh BundleGridSampler object that does NOT copy this one.

Reimplemented from protocols::moves::Mover.

std::string protocols::helical_bundle::BundleGridSampler::get_name ( ) const
overridevirtual

Each derived class must specify its name. The class name.

Implements protocols::moves::Mover.

References mover_name().

void protocols::helical_bundle::BundleGridSampler::increment_helix_count ( )
inline

Increments the number of helices that have been defined.

References n_helices_.

Referenced by add_helix().

bool protocols::helical_bundle::BundleGridSampler::is_in_list ( core::Size const  val,
utility::vector1< core::Size > const &  list 
) const
private

Is a value in a list?

core::Size protocols::helical_bundle::BundleGridSampler::max_samples ( ) const
inline

Get the maximum number of samples for the mover.

If the number of gridpoints based on user options exceeds this number, an error is thrown and the mover aborts. This is to prevent unreasonably large calculations from being attempted.

References max_samples_.

Referenced by apply().

std::string protocols::helical_bundle::BundleGridSampler::mover_name ( )
static
core::Size protocols::helical_bundle::BundleGridSampler::n_helices ( ) const
inline

Returns the number of helices that have been defined.

References n_helices_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

bool protocols::helical_bundle::BundleGridSampler::nstruct_mode ( ) const
inline

Get the nstruct mode.

If true, each job samples one set of Crick parameters. If false, every job samples every set of Crick parameters. False by default.

References nstruct_mode_.

Referenced by apply().

core::Size protocols::helical_bundle::BundleGridSampler::nstruct_repeats ( ) const
inline

Get the nstruct repeats.

This is set to 1 by default, which means that each nstruct number correspnds to a different set of Crick parameters. If set greater than 1, then multiple consecutive nstruct numbers will correspond to the same Crick parameters. This allows combinatorially combining this mover's sampling with another, similar mover's sampling.

References nstruct_mode_repeats_.

Referenced by apply().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::omega0 ( core::Size const  index)
inline

Access the omega0_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References omega0_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::omega0 ( core::Size const  index) const
inline

Access the omega0_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References omega0_.

void protocols::helical_bundle::BundleGridSampler::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap &  data_map,
protocols::filters::Filters_map const &  filters,
protocols::moves::Movers_map const &  movers,
core::pose::Pose const &   
)
overridevirtual
bool protocols::helical_bundle::BundleGridSampler::pdb_output ( ) const
inline

Returns whether the mover dumps pdbs or not.

References dump_pdbs_.

Referenced by apply().

std::string protocols::helical_bundle::BundleGridSampler::pdb_prefix ( )
inline

Access the filename prefix for PDB output.

PDB files are of the form <prefix>_#####.pdb.

References pdb_prefix_.

Referenced by apply().

bool protocols::helical_bundle::BundleGridSampler::preselection_filter_exists ( ) const
inline

Returns "true" if and only if a preselection filter has been assigned.

References pre_selection_filter_exists_.

Referenced by apply().

bool protocols::helical_bundle::BundleGridSampler::preselection_mover_exists ( ) const
inline

Returns "true" if and only if a preselection mover has been assigned.

References pre_selection_mover_exists_.

Referenced by apply().

void protocols::helical_bundle::BundleGridSampler::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::r0 ( core::Size const  index)
inline

Access the r0_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References r0_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::r0 ( core::Size const  index) const
inline

Access the r0_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References r0_.

bool protocols::helical_bundle::BundleGridSampler::reset_mode ( ) const
inline

Get the reset mode.

If true (default), the pose is reset before generating bundles. If false, it is not.

References reset_mode_.

Referenced by apply(), and parse_my_tag().

bool protocols::helical_bundle::BundleGridSampler::selection_low ( )
inline

Returns whether the selection should be for the lowest score value (true) or highest (false).

References select_low_.

Referenced by apply().

void protocols::helical_bundle::BundleGridSampler::set_max_samples ( core::Size const  val)
inline

Set the maximum number of samples for the mover.

If the number of gridpoints based on user options exceeds this number, an error is thrown and the mover aborts. This is to prevent unreasonably large calculations from being attempted.

References max_samples_, and protocols::hybridization::val.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_nstruct_mode ( bool const &  val)
inline

Set the nstruct mode.

If true, each job samples one set of Crick parameters. If false, every job samples every set of Crick parameters. False by default.

References nstruct_mode_, and protocols::hybridization::val.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_nstruct_repeats ( core::Size const  val)
inline

Set the nstruct repeats.

This is set to 1 by default, which means that each nstruct number correspnds to a different set of Crick parameters. If set greater than 1, then multiple consecutive nstruct numbers will correspond to the same Crick parameters. This allows combinatorially combining this mover's sampling with another, similar mover's sampling.

References nstruct_mode_repeats_, and protocols::hybridization::val.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_pdb_output ( bool const  val)
inline

Set whether the mover dumps pdbs or not.

References dump_pdbs_, and protocols::hybridization::val.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_pdb_prefix ( std::string const &  prefix)
inline

Sets the filename prefix for PDB output.

PDB files are of the form <prefix>_#####.pdb.

References pdb_prefix_.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_preselection_filter ( protocols::filters::FilterOP  filter)

Sets the filter that will be applied to all helical bundles generated prior to energy evaluation.

See the pre_selection_filter_ private member variable for details.

References pre_selection_filter_, and pre_selection_filter_exists_.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_preselection_mover ( protocols::moves::MoverOP  mover)

Sets the mover that will be applied to all helical bundles generated prior to energy evaluation.

Note: if this is used, there is no guarantee that the resulting geometry will still lie within the parameter space. (That is, this mover could move the backbone.)

References pre_selection_mover_, and pre_selection_mover_exists_.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_reset_mode ( bool const  val)
inline

Set the reset mode.

If true (default), the pose is reset before generating bundles. If false, it is not.

References reset_mode_, and protocols::hybridization::val.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_selection_low ( bool const  val)
inline

Sets whether the selection should be for the lowest score value (true) or highest (false).

References select_low_, and protocols::hybridization::val.

Referenced by parse_my_tag().

void protocols::helical_bundle::BundleGridSampler::set_sfxn ( core::scoring::ScoreFunctionOP  sfxn_in)
inline

Sets the scorefunction for this mover.

This must be done before calling the apply() function.

References sfxn_, and sfxn_set_.

Referenced by parse_my_tag().

bool protocols::helical_bundle::BundleGridSampler::sfxn_set ( ) const
inline

Returns whether the scorefunction has been set.

References sfxn_set_.

Referenced by apply().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::z0_offset ( core::Size const  index)
inline

Access the z0_offset_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References z0_offset_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::z0_offset ( core::Size const  index) const
inline

Access the z0_offset_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References z0_offset_.

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::z1_offset ( core::Size const  index)
inline

Access the z1_offset_ BundleOptions object, by index.

This is the index in order of helices added, NOT necessarily the index of the helix.

References z1_offset_.

Referenced by add_helix(), apply(), calculate_total_samples(), and parse_my_tag().

PerturbBundleOptionsCOP protocols::helical_bundle::BundleGridSampler::z1_offset ( core::Size const  index) const
inline

Access the z1_offset_ BundleOptions object, by index. This provides const access.

This is the index in order of helices added, NOT necessarily the index of the helix.

References z1_offset_.

Member Data Documentation

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_delta_omega0_
private

Default options for sampling delta_omega0.

May be overridden on a helix-by-helix basis.

Referenced by default_delta_omega0().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_delta_omega1_
private

Default options for sampling delta_omega1.

May be overridden on a helix-by-helix basis.

Referenced by default_delta_omega1().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_delta_t_
private

Default options for sampling delta_t.

May be overridden on a helix-by-helix basis.

Referenced by default_delta_t().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_epsilon_
private

Default options for sampling epsilon.

May be overridden on a helix-by-helix basis.

Referenced by BundleGridSampler(), and default_epsilon().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_omega0_
private

Default options for sampling omega0.

May be overridden on a helix-by-helix basis.

Referenced by default_omega0().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_r0_
private

Default options for sampling r0.

May be overridden on a helix-by-helix basis.

Referenced by default_r0().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_z0_offset_
private

Default options for sampling z0_offset.

May be overridden on a helix-by-helix basis.

Referenced by default_z0_offset().

PerturbBundleOptionsOP protocols::helical_bundle::BundleGridSampler::default_z1_offset_
private

Default options for sampling z1_offset.

May be overridden on a helix-by-helix basis.

Referenced by default_z1_offset().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::delta_omega0_
private

Helix-by-helix options for sampling delta_omega0.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and delta_omega0().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::delta_omega1_
private

Helix-by-helix options for sampling delta_omega1.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and delta_omega1().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::delta_t_
private

Helix-by-helix options for sampling delta_t.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and delta_t().

bool protocols::helical_bundle::BundleGridSampler::dump_pdbs_
private

Dump a PDB file for each bundle generated? False by default.

Referenced by pdb_output(), and set_pdb_output().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::epsilon_
private

Helix-by-helix options for sampling epsilon.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and epsilon().

MakeBundleOP protocols::helical_bundle::BundleGridSampler::make_bundle_
private

A MakeBundle mover that this mover will call.

Referenced by add_helix(), apply(), and parse_my_tag().

core::Size protocols::helical_bundle::BundleGridSampler::max_samples_
private

The maximum number of gridpoints allowed.

If the number of gridpoints based on user options exceeds this number, an error is thrown and the mover aborts. This is to prevent unreasonably large calculations from being attempted. Default value is ten thousand (10,000).

Referenced by max_samples(), and set_max_samples().

core::Size protocols::helical_bundle::BundleGridSampler::n_helices_
private

The number of helices that have been defined.

Referenced by increment_helix_count(), and n_helices().

bool protocols::helical_bundle::BundleGridSampler::nstruct_mode_
private

Should the parallel sampling be done based on the job (nstruct number)?

If true, each job samples one set of Crick parameters. If false, every job samples every set of Crick parameters. False by default.

Referenced by nstruct_mode(), and set_nstruct_mode().

core::Size protocols::helical_bundle::BundleGridSampler::nstruct_mode_repeats_
private

If nstruct_mode_ is true, how many times should each set of Crick parameters be repeated?

This is set to 1 by default, which means that each nstruct number correspnds to a different set of Crick parameters. If set greater than 1, then multiple consecutive nstruct numbers will correspond to the same Crick parameters. This allows combinatorially combining this mover's sampling with another, similar mover's sampling.

Referenced by nstruct_repeats(), and set_nstruct_repeats().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::omega0_
private

Helix-by-helix options for sampling omega0.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and omega0().

std::string protocols::helical_bundle::BundleGridSampler::pdb_prefix_
private

PDB filename prefix. Filename will be of the form <prefix>_#####.pdb.

Defaults to "bgs_out".

Referenced by pdb_prefix(), and set_pdb_prefix().

protocols::filters::FilterOP protocols::helical_bundle::BundleGridSampler::pre_selection_filter_
private

Owning pointer for an (optional) pre-selection filter applied to all helical bundles after the pre-selection mover but before picking the lowest-energy solution. If PDBs are dumped, only those passing filters are dumped.

Referenced by apply(), and set_preselection_filter().

bool protocols::helical_bundle::BundleGridSampler::pre_selection_filter_exists_
private

Bool determining whether a pre-selection filter has been set.

Referenced by preselection_filter_exists(), and set_preselection_filter().

protocols::moves::MoverOP protocols::helical_bundle::BundleGridSampler::pre_selection_mover_
private

Owning pointer for an (optional) pre-selection mover applied to all helical bundles before energy evaluation.

Referenced by apply(), and set_preselection_mover().

bool protocols::helical_bundle::BundleGridSampler::pre_selection_mover_exists_
private

Bool determining whether there exists a pre-selection mover that wlil be applied.

Referenced by preselection_mover_exists(), and set_preselection_mover().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::r0_
private

Helix-by-helix options for sampling r0.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and r0().

bool protocols::helical_bundle::BundleGridSampler::reset_mode_
private

Should the pose be reset before applying the GridSampler? Default true.

Referenced by reset_mode(), and set_reset_mode().

bool protocols::helical_bundle::BundleGridSampler::select_low_
private

The selection type. If false, the pose with the highest score value is selected. If true, the pose with the lowest score value is selected. True by default.

Referenced by selection_low(), and set_selection_low().

core::scoring::ScoreFunctionOP protocols::helical_bundle::BundleGridSampler::sfxn_
private

The scorefunction that this mover will use to pick the lowest-energy bundle.

Must be set prior to calling apply() function.

Referenced by apply(), and set_sfxn().

bool protocols::helical_bundle::BundleGridSampler::sfxn_set_
private

Has the scorefunction been set?

False by default.

Referenced by set_sfxn(), and sfxn_set().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::z0_offset_
private

Helix-by-helix options for sampling z0_offset.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and z0_offset().

PerturbBundleOptionsOPs protocols::helical_bundle::BundleGridSampler::z1_offset_
private

Helix-by-helix options for sampling z1_offset.

Referenced by add_helix(), BundleGridSampler(), calculate_total_samples(), and z1_offset().


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