Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::disjoint_sets< RankPA, ParentPA, FindCompress > Class Template Reference

#include <disjoint_sets.hpp>

Inheritance diagram for boost::disjoint_sets< RankPA, ParentPA, FindCompress >:

Public Member Functions

 disjoint_sets (RankPA r, ParentPA p)
 
 disjoint_sets (const self &c)
 
template<class Element >
void make_set (Element x)
 
template<class Element >
void link (Element x, Element y)
 
template<class Element >
void union_set (Element x, Element y)
 
template<class Element >
Element find_set (Element x)
 
template<class ElementIterator >
std::size_t count_sets (ElementIterator first, ElementIterator last)
 
template<class ElementIterator >
void normalize_sets (ElementIterator first, ElementIterator last)
 
template<class ElementIterator >
void compress_sets (ElementIterator first, ElementIterator last)
 

Protected Attributes

RankPA rank
 
ParentPA parent
 
FindCompress rep
 

Constructor & Destructor Documentation

template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
boost::disjoint_sets< RankPA, ParentPA, FindCompress >::disjoint_sets ( RankPA  r,
ParentPA  p 
)
inline
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
boost::disjoint_sets< RankPA, ParentPA, FindCompress >::disjoint_sets ( const self c)
inline

Member Function Documentation

template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
template<class ElementIterator >
void boost::disjoint_sets< RankPA, ParentPA, FindCompress >::compress_sets ( ElementIterator  first,
ElementIterator  last 
)
inline
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
template<class ElementIterator >
std::size_t boost::disjoint_sets< RankPA, ParentPA, FindCompress >::count_sets ( ElementIterator  first,
ElementIterator  last 
)
inline
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
template<class Element >
Element boost::disjoint_sets< RankPA, ParentPA, FindCompress >::find_set ( Element  x)
inline
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
template<class Element >
void boost::disjoint_sets< RankPA, ParentPA, FindCompress >::link ( Element  x,
Element  y 
)
inline
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
template<class Element >
void boost::disjoint_sets< RankPA, ParentPA, FindCompress >::make_set ( Element  x)
inline
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
template<class ElementIterator >
void boost::disjoint_sets< RankPA, ParentPA, FindCompress >::normalize_sets ( ElementIterator  first,
ElementIterator  last 
)
inline
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
template<class Element >
void boost::disjoint_sets< RankPA, ParentPA, FindCompress >::union_set ( Element  x,
Element  y 
)
inline

Member Data Documentation

template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
RankPA boost::disjoint_sets< RankPA, ParentPA, FindCompress >::rank
protected
template<class RankPA, class ParentPA, class FindCompress = find_with_full_path_compression>
FindCompress boost::disjoint_sets< RankPA, ParentPA, FindCompress >::rep
protected

The documentation for this class was generated from the following file: