28 #include <utility/vector1.hh>
33 namespace constraints {
78 if( !dynamic_cast< AmbiguousConstraint const * > ( &other_cst ) )
return false;
89 Real low_total_cst_score = 0;
93 bool first_pass =
true;
95 for( ConstraintCOPs::const_iterator
101 (*member_it)->score(xyz_func, weights,
temp_EMap_ );
105 if ( first_pass || (cur_score < low_total_cst_score ) ){
108 low_total_cst_score = cur_score;
152 ConstraintOP new_cst = (*cst_it)->remap_resid( seqmap );
154 if( new_cst ) new_csts.push_back( new_cst );
158 if( new_csts.size() > 0 ){
188 out <<
"AmbiguousConstraint containing the following " <<
member_constraints().size() <<
" constraints: " << std::endl;
190 (*cst_it)->show(out);
193 out <<
" ...all member constraints of this AmbiguousConstraint shown." << std::endl;
230 if ( verbose_level >= 70 ) {
231 Size total_viol( 0 );
233 for( ConstraintCOPs::const_iterator
240 if ( pos_list.size() == 2 ) {
241 out <<
"ResiduePairConstraints ( " << pos_list[ 1 ] <<
" , " << pos_list[ 2 ] <<
" ) ";
242 if ( verbose_level>80 ) out << std::endl;
244 total_viol += (*cst_it)->show_violations( out, pose, verbose_level, threshold );
245 out <<
" of total: " << 1 <<
" ";
257 else out <<
"WARNING: requested to show violations of an ambiguous constraint before"
258 <<
" the pose was scored and thus, the active constraint selected." << std::endl;