![]() |
Rosetta Protocols
2014.35
|
#include <ParetoOptMutationMover.hh>
Public Types | |
typedef core::pose::Pose | Pose |
![]() | |
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 | |
ParetoOptMutationMover () | |
default ctor More... | |
ParetoOptMutationMover (core::pack::task::TaskFactoryOP task_factory, core::scoring::ScoreFunctionOP scorefxn, protocols::moves::MoverOP relax_mover, utility::vector1< protocols::filters::FilterOP > filters, utility::vector1< std::string > sample_types, utility::vector1< core::Real > filter_deltas, bool dump_pdb=false, bool dump_table=false, bool parallel=false, bool stop_before_condition=false, bool skip_best_check=false, bool rtmin=false, bool shuffle_order=false, protocols::filters::FilterOP stopping_condition=protocols::filters::FilterOP(NULL)) | |
void | apply (Pose &pose) |
protocols::moves::MoverOP | clone () const |
Return a clone of the Mover object. More... | |
virtual std::string | get_name () const |
Each derived class must specify its name. The class name. More... | |
protocols::moves::MoverOP | fresh_instance () const |
Generates a new Mover object freshly created with the default ctor. More... | |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &, protocols::filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &) |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
void | add_filter (protocols::filters::FilterOP, std::string const sample_type, core::Real filter_delta) |
virtual | ~ParetoOptMutationMover () |
core::pack::task::TaskFactoryOP | task_factory () const |
void | task_factory (core::pack::task::TaskFactoryOP task_factory) |
core::scoring::ScoreFunctionOP | scorefxn () const |
void | scorefxn (core::scoring::ScoreFunctionOP scorefxn) |
utility::vector1 < protocols::filters::FilterOP > | filters () const |
void | filters (utility::vector1< protocols::filters::FilterOP > filters) |
protocols::moves::MoverOP | relax_mover () const |
void | relax_mover (protocols::moves::MoverOP relax_mover) |
bool | dump_pdb () const |
void | dump_pdb (bool const dump_pdb) |
bool | dump_table () const |
void | dump_table (bool const dump_table) |
bool | parallel () const |
void | parallel (bool const parallel) |
utility::vector1< std::string > | sample_types () const |
void | sample_types (utility::vector1< std::string > const sample_types) |
utility::vector1< core::Real > | filter_deltas () const |
void | filter_deltas (utility::vector1< core::Real > const filter_deltas) |
void | stopping_condition (protocols::filters::FilterOP f) |
protocols::filters::FilterOP | stopping_condition () const |
bool | stop_before_condition () const |
void | stop_before_condition (bool const stop_before_condition) |
bool | skip_best_check () const |
void | skip_best_check (bool const skip_best_check) |
utility::vector1 < protocols::simple_filters::DeltaFilterOP > | delta_filters () const |
void | delta_filters (utility::vector1< protocols::simple_filters::DeltaFilterOP > const d) |
bool | rtmin () const |
void | rtmin (bool const b) |
bool | shuffle_order () const |
void | shuffle_order (bool const b) |
![]() | |
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 |
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... | |
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 |
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... | |
Additional Inherited Members | |
![]() | |
static std::string | name () |
static void | register_options () |
Overload this static method if you access options within the mover. More... | |
![]() | |
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... | |
protocols::design_opt::ParetoOptMutationMover::ParetoOptMutationMover | ( | ) |
default ctor
Referenced by clone().
protocols::design_opt::ParetoOptMutationMover::ParetoOptMutationMover | ( | core::pack::task::TaskFactoryOP | task_factory, |
core::scoring::ScoreFunctionOP | scorefxn, | ||
protocols::moves::MoverOP | relax_mover, | ||
utility::vector1< protocols::filters::FilterOP > | filters, | ||
utility::vector1< std::string > | sample_types, | ||
utility::vector1< core::Real > | filter_deltas, | ||
bool | dump_pdb = false , |
||
bool | dump_table = false , |
||
bool | parallel = false , |
||
bool | stop_before_condition = false , |
||
bool | skip_best_check = false , |
||
bool | rtmin = false , |
||
bool | shuffle_order = false , |
||
protocols::filters::FilterOP | stopping_condition = protocols::filters::FilterOP(NULL) |
||
) |
|
virtual |
void protocols::design_opt::ParetoOptMutationMover::add_filter | ( | protocols::filters::FilterOP | filter, |
std::string const | sample_type, | ||
core::Real | filter_delta | ||
) |
References filter_deltas_, filters_, and sample_types_.
Referenced by parse_my_tag().
|
virtual |
Implements protocols::moves::Mover.
References dump_pdb(), dump_table(), filter_deltas(), filters(), parallel(), relax_mover(), rtmin(), sample_types(), scorefxn(), shuffle_order(), skip_best_check(), stop_before_condition(), stopping_condition(), and task_factory().
|
virtual |
Return a clone of the Mover object.
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.
References ParetoOptMutationMover().
utility::vector1< protocols::simple_filters::DeltaFilterOP > protocols::design_opt::ParetoOptMutationMover::delta_filters | ( | ) | const |
References reset_delta_filters_.
void protocols::design_opt::ParetoOptMutationMover::delta_filters | ( | utility::vector1< protocols::simple_filters::DeltaFilterOP > const | d | ) |
References reset_delta_filters_.
bool protocols::design_opt::ParetoOptMutationMover::dump_pdb | ( | ) | const |
References dump_pdb_.
Referenced by apply(), dump_pdb(), and parse_my_tag().
void protocols::design_opt::ParetoOptMutationMover::dump_pdb | ( | bool const | dump_pdb | ) |
References dump_pdb(), and dump_pdb_.
bool protocols::design_opt::ParetoOptMutationMover::dump_table | ( | ) | const |
References dump_table_.
Referenced by apply(), dump_table(), and parse_my_tag().
void protocols::design_opt::ParetoOptMutationMover::dump_table | ( | bool const | dump_table | ) |
References dump_table(), and dump_table_.
vector1< core::Real > protocols::design_opt::ParetoOptMutationMover::filter_deltas | ( | ) | const |
References filter_deltas_.
Referenced by apply(), and filter_deltas().
void protocols::design_opt::ParetoOptMutationMover::filter_deltas | ( | utility::vector1< core::Real > const | filter_deltas | ) |
References filter_deltas(), and filter_deltas_.
vector1< protocols::filters::FilterOP > protocols::design_opt::ParetoOptMutationMover::filters | ( | ) | const |
void protocols::design_opt::ParetoOptMutationMover::filters | ( | utility::vector1< protocols::filters::FilterOP > | filters | ) |
|
inlinevirtual |
Generates a new Mover object freshly created with the default ctor.
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.
|
virtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
References protocols::design_opt::ParetoOptMutationMoverCreator::mover_name().
bool protocols::design_opt::ParetoOptMutationMover::parallel | ( | ) | const |
References parallel_.
Referenced by apply(), parallel(), and parse_my_tag().
void protocols::design_opt::ParetoOptMutationMover::parallel | ( | bool const | parallel | ) |
References parallel(), and parallel_.
|
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.
References add_filter(), design_shell_, dump_pdb(), dump_table(), filters_, parallel(), protocols::rosetta_scripts::parse_filter(), protocols::rosetta_scripts::parse_score_function(), protocols::rosetta_scripts::parse_task_operations(), relax_mover(), repack_shell_, reset_delta_filters_, rtmin(), runtime_assert, scorefxn(), shuffle_order(), skip_best_check(), stop_before_condition(), stopping_condition(), utility::string_split(), task_factory(), and protocols::design_opt::TR.
protocols::moves::MoverOP protocols::design_opt::ParetoOptMutationMover::relax_mover | ( | ) | const |
References relax_mover_.
Referenced by apply(), and parse_my_tag().
void protocols::design_opt::ParetoOptMutationMover::relax_mover | ( | protocols::moves::MoverOP | relax_mover | ) |
References relax_mover_.
bool protocols::design_opt::ParetoOptMutationMover::rtmin | ( | ) | const |
References rtmin_.
Referenced by apply(), and parse_my_tag().
void protocols::design_opt::ParetoOptMutationMover::rtmin | ( | bool const | b | ) |
References protocols::match::upstream::b, and rtmin_.
vector1< std::string > protocols::design_opt::ParetoOptMutationMover::sample_types | ( | ) | const |
References sample_types_.
Referenced by apply().
void protocols::design_opt::ParetoOptMutationMover::sample_types | ( | utility::vector1< std::string > const | sample_types | ) |
core::scoring::ScoreFunctionOP protocols::design_opt::ParetoOptMutationMover::scorefxn | ( | ) | const |
References scorefxn_.
Referenced by apply(), parse_my_tag(), and scorefxn().
void protocols::design_opt::ParetoOptMutationMover::scorefxn | ( | core::scoring::ScoreFunctionOP | scorefxn | ) |
References scorefxn(), and scorefxn_.
bool protocols::design_opt::ParetoOptMutationMover::shuffle_order | ( | ) | const |
References shuffle_order_.
Referenced by apply(), and parse_my_tag().
void protocols::design_opt::ParetoOptMutationMover::shuffle_order | ( | bool const | b | ) |
References protocols::match::upstream::b, and shuffle_order_.
bool protocols::design_opt::ParetoOptMutationMover::skip_best_check | ( | ) | const |
References skip_best_check_.
Referenced by apply(), parse_my_tag(), and skip_best_check().
void protocols::design_opt::ParetoOptMutationMover::skip_best_check | ( | bool const | skip_best_check | ) |
References skip_best_check(), and skip_best_check_.
bool protocols::design_opt::ParetoOptMutationMover::stop_before_condition | ( | ) | const |
References stop_before_condition_.
Referenced by apply(), parse_my_tag(), and stop_before_condition().
void protocols::design_opt::ParetoOptMutationMover::stop_before_condition | ( | bool const | stop_before_condition | ) |
References stop_before_condition(), and stop_before_condition_.
|
inline |
References stopping_condition_.
|
inline |
References stopping_condition_.
Referenced by apply(), and parse_my_tag().
core::pack::task::TaskFactoryOP protocols::design_opt::ParetoOptMutationMover::task_factory | ( | ) | const |
References task_factory_.
Referenced by apply(), parse_my_tag(), and task_factory().
void protocols::design_opt::ParetoOptMutationMover::task_factory | ( | core::pack::task::TaskFactoryOP | task_factory | ) |
References task_factory(), and task_factory_.
|
private |
Referenced by parse_my_tag().
|
private |
Referenced by dump_pdb().
|
private |
Referenced by dump_table().
|
private |
Referenced by add_filter(), and filter_deltas().
|
private |
Referenced by add_filter(), filters(), and parse_my_tag().
|
private |
Referenced by parallel().
|
private |
Referenced by relax_mover().
|
private |
Referenced by parse_my_tag().
|
private |
Referenced by delta_filters(), and parse_my_tag().
|
private |
Referenced by add_filter(), and sample_types().
|
private |
Referenced by scorefxn().
|
private |
|
private |
Referenced by shuffle_order().
|
private |
Referenced by skip_best_check().
|
private |
Referenced by stop_before_condition().
|
private |
Referenced by stopping_condition().
|
private |
Referenced by task_factory().