14 #ifndef INCLUDED_core_kinematics_FoldTree_hh
15 #define INCLUDED_core_kinematics_FoldTree_hh
26 #include <utility/vector1.hh>
27 #include <utility/pointer/ReferenceCount.hh>
30 #include <ObjexxFCL/FArray1D.hh>
31 #include <ObjexxFCL/FArray2D.hh>
34 #include <boost/functional/hash.hpp>
46 namespace kinematics {
118 assert(res <=
nres());
126 assert(res <=
nres());
174 show( std::ostream & out )
const;
231 int const old_label,
int const new_label );
297 bool const join_lower,
298 bool const join_upper
315 int const insert_seqpos,
316 int const insert_jumppos,
317 int const anchor_pos,
318 int anchor_jump_number = 0,
328 int new_jump(
int const jump_pos1,
int const jump_pos2,
333 int const anchor_pos,
337 int const new_cutpoint
375 int const nres_in,
int const num_jump_in,
377 ObjexxFCL::FArray1D_float
const & cut_bias,
379 bool const allow_jump_at_1_or_NRES =
false
386 int const nres_in,
int const num_jump_in,
388 std::vector< int >
const & obligate_cut_points,
389 ObjexxFCL::FArray1D_float
const & cut_bias,
390 int const root_in = 1,
391 bool const allow_jump_at_1_or_NRES =
false );
396 int const nres_in,
int const num_jump_in,
398 ObjexxFCL::FArray1D_int
const & cuts,
399 int const root_in = 1,
400 bool const verbose =
false
406 bool const attach_by_jump =
false,
407 int const jump_anchor_residue = 0,
415 int const anchor_residue,
422 bool reorder(
int const start_residue );
455 int const jump_number,
463 int const jump_number,
464 ObjexxFCL::FArray1D_bool & partner1
471 ObjexxFCL::FArray1D_bool & partner1
480 int const jump_number
525 int const jump_number,
528 bool bKeepStubInResidue =
false
535 int const jump_number,
540 bool bKeepStubInResidue =
false
594 int jump_point(
int const lower_higher,
int const jump_number )
const;
618 inline int cutpoint(
int const cut )
const;
734 for (
int i=1; i<= static_cast<int>(
num_jump()); ++i ) {
746 Size const begin_res,
748 Size & min_edge_count_out
786 int const jump_number
857 ObjexxFCL::FArray1D_float
const & cut_bias_sum,
861 #ifdef USEBOOSTSERIALIZE
862 friend class boost::serialization::access;
864 template<
class Archive>
865 void serialize(Archive & ar,
const unsigned int version) {
1049 for (
int i=1; i<= static_cast<int>(
num_jump()); ++i ) {
1082 if ( seqpos > 0 && seqpos <
nres_ ) {
1096 #endif // INCLUDED_core_kinematics_FoldTree_HH