16 #ifndef INCLUDED_protocols_loophash_BackboneDB_hh
17 #define INCLUDED_protocols_loophash_BackboneDB_hh
22 #include <boost/unordered_map.hpp>
33 #include <utility/vector1.hh>
34 #include <numeric/geometry/BoundingBox.fwd.hh>
37 #include <numeric/geometry/hashing/SixDHasher.fwd.hh>
49 typedef boost::unordered_multimap< boost::uint64_t, core::Size , numeric::geometry::hashing::bin_index_hasher >
BackboneIndexMap;
50 typedef numeric::geometry::BoundingBox< core::Vector >
BoundingBox;
74 const std::vector<core::Real> &
phi,
75 const std::vector<core::Real> &
psi,
76 const std::vector<core::Real> &
omega
89 const std::vector<core::Real> &
phi()
const {
return phi_; }
90 const std::vector<core::Real> &
psi()
const {
return psi_; }
91 const std::vector<core::Real> &
omega()
const {
return omega_; }
98 return !(*
this == other);
151 std::pair< core::Size, core::Size > & loop_range,
152 std::map< core::Size, bool > & homolog_index );
155 std::pair< core::Size, core::Size >
range;
156 std::map < core::Size, bool > homolog_index;
157 read_db( filename, load_extra, 1, 0, range, homolog_index );
177 std::vector < BBData >
data_;