28 #include <utility/vector1.hh>
29 #include <numeric/xyzVector.hh>
34 namespace constraints {
55 new_constraints->copy_from( *
this );
56 return new_constraints;
69 for ( ConstraintCOPs::const_iterator
71 iter != iter_end; ++iter ) {
83 (*it)->setup_for_scoring( xyz, scfxn );
92 (*it)->setup_for_derivatives( xyz, scfxn );
111 cst.
fill_f1_f2( atom_id, resxyz, f1, f2, weights );
132 cst.
fill_f1_f2( atom_id, respairxyz, f1, f2, weights );
152 cst.
fill_f1_f2( atom_id, confxyz, f1, f2, weights );
172 cst.
score( xyz_func, weights, emap );
187 energy( xyz_func, weights, emap );
199 energy( xyz_func, weights, emap );
211 energy( xyz_func, weights, emap );
234 bool object_comparison
238 if( object_comparison ){
239 for( ConstraintCOPs::iterator cst_it =
constraints_.begin(), cst_end =
constraints_.end(); cst_it != cst_end; ++cst_it ){
241 if( *cst == **cst_it ){
285 Size total_viol( 0 );
291 total_viol+=cst.
show_violations( out, pose, verbose_level, threshold );
294 if ( verbose_level > 60 ) out <<
" of total: " << total_cst <<
" ";