![]() |
Rosetta
2021.16
|
#include <RestrictOperationsBase.hh>

Public Types | |
| typedef core::pack::task::operation::TaskOperation | TaskOperation |
| typedef core::pack::task::operation::TaskOperationOP | TaskOperationOP |
| typedef TaskOperation | parent |
Public Types inherited from core::pack::task::operation::TaskOperation | |
| typedef utility::tag::TagCOP | TagCOP |
| typedef basic::datacache::DataMap | DataMap |
| typedef pose::Pose | Pose |
Public Member Functions | |
| RestrictOperationsBase () | |
| ~RestrictOperationsBase () override | |
| TaskOperationOP | clone () const override=0 |
| Create another task operation of the type matching the most-derived version of the class. More... | |
| void | apply (core::pose::Pose const &, core::pack::task::PackerTask &) const override=0 |
| Change a packer task in some way. The input pose is the one to which the input task will be later applied. More... | |
Public Member Functions inherited from core::pack::task::operation::TaskOperation | |
| ~TaskOperation () override | |
| virtual void | parse_tag (TagCOP, DataMap &) |
| Used to parse an xml-like tag to load parameters and properties. More... | |
| virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
| Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Protected Member Functions | |
| void | run_calculator (core::pose::Pose const &pose, std::string const &calculator, std::string const &calculation, utility::vector1_bool &residues) const |
| this is the only real function - it takes a calculator name and calculation, and a PackerTask-compatible vector, and flips booleans in the vector according to the calculator More... | |
This base class defines an interface for TaskOperations which use PoseMetricCalculators to pick out certain residues in a pose. The apply function takes a vector of PoseMetricCalculators and a vector of calculation queries, and uses those queries to shape the PackerTask. This was designed to work with NeighborsByDistanceCalculator, NeighborhoodByDistanceCalculator, and InterfaceNeighborDefinitionCalculator; in general it works when the calculators can return MetricValue< std::set< core::Size > > (a std::set of resids).
| typedef core::pack::task::operation::TaskOperation protocols::task_operations::RestrictOperationsBase::TaskOperation |
| typedef core::pack::task::operation::TaskOperationOP protocols::task_operations::RestrictOperationsBase::TaskOperationOP |
| protocols::task_operations::RestrictOperationsBase::RestrictOperationsBase | ( | ) |
|
overridedefault |
|
overridepure virtual |
Change a packer task in some way. The input pose is the one to which the input task will be later applied.
Implements core::pack::task::operation::TaskOperation.
Implemented in protocols::task_operations::ProteinInterfaceDesignOperation, protocols::task_operations::RestrictToNeighborhoodOperation, protocols::splice::DesignInterfacesOperation, protocols::task_operations::DesignAroundOperation, protocols::task_operations::PreventResiduesFromRepackingOperation, protocols::task_operations::RestrictResiduesToRepackingOperation, protocols::task_operations::ThreadSequenceOperation, protocols::task_operations::RestrictToInterfaceOperation, protocols::task_operations::PreventChainFromRepackingOperation, protocols::task_operations::AlignedThreadOperation, protocols::task_operations::RestrictToAlignedSegmentsOperation, protocols::task_operations::RestrictByCalculatorsOperation, protocols::task_operations::RestrictIdentitiesAtAlignedPositionsOperation, protocols::task_operations::RestrictChainToRepackingOperation, protocols::task_operations::SelectResiduesWithinChainOperation, protocols::splice::FindEndpointsOperation, and protocols::task_operations::DatabaseThread.
|
overridepure virtual |
Create another task operation of the type matching the most-derived version of the class.
Implements core::pack::task::operation::TaskOperation.
Implemented in protocols::task_operations::ProteinInterfaceDesignOperation, protocols::task_operations::RestrictToNeighborhoodOperation, protocols::task_operations::DesignAroundOperation, protocols::task_operations::PreventResiduesFromRepackingOperation, protocols::task_operations::RestrictResiduesToRepackingOperation, protocols::splice::DesignInterfacesOperation, protocols::task_operations::RestrictToInterfaceOperation, protocols::task_operations::PreventChainFromRepackingOperation, protocols::task_operations::ThreadSequenceOperation, protocols::task_operations::AlignedThreadOperation, protocols::task_operations::RestrictToAlignedSegmentsOperation, protocols::task_operations::RestrictByCalculatorsOperation, protocols::task_operations::RestrictIdentitiesAtAlignedPositionsOperation, protocols::task_operations::RestrictChainToRepackingOperation, protocols::task_operations::DatabaseThread, protocols::task_operations::SelectResiduesWithinChainOperation, and protocols::splice::FindEndpointsOperation.
|
protected |
this is the only real function - it takes a calculator name and calculation, and a PackerTask-compatible vector, and flips booleans in the vector according to the calculator
References core::pose::Pose::metric(), and core::pose::Pose::size().
Referenced by protocols::task_operations::RestrictByCalculatorsOperation::apply(), protocols::task_operations::RestrictToInterfaceOperation::apply(), and protocols::task_operations::RestrictToNeighborhoodOperation::apply().
1.8.7