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_with_storage< ID, InverseID, FindCompress > Class Template Reference

#include <disjoint_sets.hpp>

Collaboration diagram for boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >:

Public Types

typedef ParentContainer::size_type size_type
 

Public Member Functions

 disjoint_sets_with_storage (size_type n=0, ID id_=ID(), InverseID inv=InverseID())
 
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)
 
const ParentContainer & parents ()
 

Protected Member Functions

template<class Element >
void extend_sets (Element x, Element y)
 

Protected Attributes

ID id
 
InverseID id_to_vertex
 
RankContainer rank
 
ParentContainer parent
 
FindCompress rep
 

Member Typedef Documentation

template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
typedef ParentContainer::size_type boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::size_type

Constructor & Destructor Documentation

template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::disjoint_sets_with_storage ( size_type  n = 0,
ID  id_ = ID(),
InverseID  inv = InverseID() 
)
inline

Member Function Documentation

template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class ElementIterator >
void boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::compress_sets ( ElementIterator  first,
ElementIterator  last 
)
inline
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class ElementIterator >
std::size_t boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::count_sets ( ElementIterator  first,
ElementIterator  last 
)
inline
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class Element >
void boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::extend_sets ( Element  x,
Element  y 
)
inlineprotected
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class Element >
Element boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::find_set ( Element  x)
inline
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class Element >
void boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::link ( Element  x,
Element  y 
)
inline
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class Element >
void boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::make_set ( Element  x)
inline
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class ElementIterator >
void boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::normalize_sets ( ElementIterator  first,
ElementIterator  last 
)
inline
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
const ParentContainer& boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::parents ( )
inline
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
template<class Element >
void boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::union_set ( Element  x,
Element  y 
)
inline

Member Data Documentation

template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
ID boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::id
protected
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
InverseID boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::id_to_vertex
protected
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
RankContainer boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::rank
protected
template<class ID = identity_property_map, class InverseID = identity_property_map, class FindCompress = find_with_full_path_compression>
FindCompress boost::disjoint_sets_with_storage< ID, InverseID, FindCompress >::rep
protected

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