32 #include <basic/Tracer.hh>
33 #include <utility/tag/Tag.hh>
34 #include <utility/vector1.hh>
37 static basic::Tracer
tr(
"protocols.forge.constraints.InverseRotamersRCG" );
41 namespace constraints{
58 return "InverseRotamersCstGenerator";
62 : RemodelConstraintGenerator(),
63 constraint_func_( NULL ),
68 : RemodelConstraintGenerator( rval ),
69 constraint_func_( rval.constraint_func_ ),
70 func_sd_( rval.func_sd_ )
76 std::list< core::conformation::ResidueCOP >
const & inverse_rotamers )
77 : RemodelConstraintGenerator(),
78 constraint_func_(NULL),
81 init( lstart, lstop, inverse_rotamers );
93 RemodelConstraintGenerator::parse_my_tag( tag, data, filters, movers, pose );
124 std::cerr <<
"WARNING: InverseRotamersRCG is asked to produce constraints but was not given any inverse rotamers. Something's probably wrong somewhere." << std::endl;
140 seqpos.push_back( remres );
167 std::list< core::conformation::ResidueCOP >
const & inverse_rotamers )
172 for( std::list< core::conformation::ResidueCOP >::const_iterator rot_it( inverse_rotamers.begin() ), rot_end( inverse_rotamers.end() );
173 rot_it != rot_end; ++rot_it ){