1 #ifndef WIRECELL_RAYCLUSTERING 2 #define WIRECELL_RAYCLUSTERING 7 #include <unordered_set> 19 return std::hash<int*>()((
int*)&*blobref);
22 typedef typename std::unordered_set<blobref_t, blobref_hash>
blobset_t;
44 typedef std::function<void(blobref_t& a, blobref_t& b)>
associator_t;
std::vector< blobref_t > blobvec_t
blobvec_t select(const blobproj_t &proj, grid_range_t range)
std::vector< blobvec_t > blobproj_t
void associate(const blobs_t &one, const blobs_t &two, associator_t func)
std::function< void(blobref_t &a, blobref_t &b)> associator_t
std::pair< grid_index_t, grid_index_t > grid_range_t
blobs_t::const_iterator blobref_t
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
std::vector< Blob > blobs_t
size_t operator()(blobref_t blobref) const
blobvec_t references(const blobs_t &blobs)
blobvec_t overlap(const blobref_t &blob, const blobproj_t &proj, layer_index_t layer)
blobproj_t projection(const blobvec_t &blobs, layer_index_t layer)
bool surrounding(const blobref_t &a, const blobref_t &b)
std::unordered_set< blobref_t, blobref_hash > blobset_t