24 #include <basic/Tracer.hh>
30 #include <utility/vector1.hh>
37 namespace constraints {
40 static basic::Tracer
TR(
"core.scoring.constraints.ResidueTypeConstraint");
53 rsd_type_name3_( pose.residue_type( seqpos ).name3() ),
54 favor_native_bonus_( favor_native_bonus )
66 rsd_type_name3_( AAname ),
67 favor_native_bonus_( favor_native_bonus )
79 rsd_type_name3_( name3_in ),
80 favor_native_bonus_( bonus_in )
100 out <<
"ResidueTypeConstraint; ";
102 out <<
"; AAname: "<<
AAname;
111 if ( newseqpos != 0 ) {
121 if( !dynamic_cast< ResidueTypeConstraint const * > ( &other_cst ) )
return false;
139 newseqpos = (*smap)[
seqpos_ ];
140 if( newseqpos == 0 )
return NULL;
154 if( weight == 0 )
return;