21 #include <utility/tag/Tag.hh>
25 #include <boost/foreach.hpp>
26 #define foreach BOOST_FOREACH
28 #include <basic/Tracer.hh>
32 namespace simple_filters {
40 distance_threshold_( 8.0 ),
41 task_factory_( NULL ) {}
45 target_residue_( target_residue ),
46 neighbors_( neighbors ),
47 distance_threshold_( distance_threshold ),
48 task_factory_( NULL ) {}
71 core::Size const total_designable( target_residues.size() );
74 foreach(
core::Size const resi, target_residues ){
76 if( rbf.
apply( pose ) ){
94 if( tag->hasOption(
"res_num" ) || tag->hasOption(
"pdb_num" ) )
99 if( tag->hasOption(
"task_operations" ) )
119 return( count_neighbors );
134 residue_burial_filter_tracer<<
"chain span "<<chain_begin<<
" "<<chain_end<<std::endl;
138 if( i>=chain_begin && i<=chain_end )
continue;
143 return( count_neighbors);