Rosetta 3.5
|
#include <design_utils.hh>
Public Types | |
typedef core::pose::Pose | Pose |
typedef core::Real | Real |
Public Member Functions | |
FavorNativeResidue (Pose &pose, Real const native_residue_bonus) | |
FavorNativeResidue (Pose &pose, utility::vector1< Real > const native_residue_bonus) | |
virtual | ~FavorNativeResidue () |
Private Member Functions | |
void | add_residue_constraints (Pose &pose) const |
Private Attributes | |
utility::vector1< Real > | native_residue_bonus_ |
class FavorNativeResidue changes a pose object so that its residue identities at the initialization of FavorNativeResidue are kept in memory. If the res_type_constraint score term is set to a value other than 0, an energy bonus will be assigned if the residue doesn't change. This is useful e.g., in design based on a native scaffold where we want a barrier to mutation.
FavorNativeResidue::FavorNativeResidue | ( | Pose & | pose, |
core::Real const | native_residue_bonus | ||
) |
References core::pose::Pose::total_residue().
FavorNativeResidue::FavorNativeResidue | ( | Pose & | pose, |
utility::vector1< Real > const | native_residue_bonus | ||
) |
References core::pose::Pose::total_residue().
|
inlinevirtual |
|
private |
References core::pose::Pose::add_constraint(), and core::pose::Pose::total_residue().
|
private |