27 #include <basic/Tracer.hh>
29 #include <utility/vector1.hh>
34 static basic::Tracer
TR(
"core.scoring.constraints.SiteConstraint");
38 namespace constraints {
57 out <<
"SiteConstraint is an AmbiguousConstraint containing the following " <<
member_constraints().size() <<
" constraints: " << std::endl;
62 out <<
" ...all member constraints of this SiteConstraint shown." << std::endl;
72 TR.Debug <<
"ConstraintIO::read_site_cst" << std::endl;
79 data >> name >> tempres >> chain >> func_type;
82 TR.Info <<
"read: " << name <<
" " << res <<
" " <<
"constrain to chain: " << chain <<
" func: " << func_type << std::endl;
87 aFunc->read_data( data );
89 if (
TR.Debug.visible() ) {
90 aFunc->show_definition(
TR.Debug );
TR.Debug<<std::endl;
96 while( data.good() && (data.get() !=
'\n') ) {}
97 if ( !data.good() ) data.setstate( std::ios_base::eofbit );
100 if (
TR.Debug.visible() ) {
101 aFunc->show_definition(
TR.Debug );
102 TR.Debug << std::endl;
121 for (
Size j = start_res ; j < end_res ; ++j ) {
123 runtime_assert( target_atom.valid() && atom2.valid() );