Polymake Template Library (PTL) 4.13
|
Generic type for ordered mutable sets More...
#include <Set.h>
Public Types | |
using | element_type |
element types | |
using | element_type |
element types | |
using | element_type |
element types | |
using | element_comparator |
functor type for comparing elements | |
using | element_comparator |
functor type for comparing elements | |
using | element_comparator |
functor type for comparing elements | |
using | generic_type |
generic type | |
using | generic_type |
generic type | |
using | generic_type |
generic type | |
using | top_type |
top type | |
using | top_type |
top type | |
using | top_type |
top type | |
Public Member Functions | |
template<typename Right> | |
std::enable_if_t< is_compatible_set< Right >::value, top_type & > | operator+= (const Right &x) |
Set union | |
template<typename Right> | |
std::enable_if_t< is_compatible_element< Right >::value, bool > | collect (const Right &x) |
Add to the set, report true if existed formerly. | |
template<typename Right> | |
std::enable_if_t< is_compatible_set< Right >::value, top_type & > | operator-= (const Right &x) |
Set difference | |
template<typename Right> | |
std::enable_if_t< is_compatible_set< Right >::value, top_type & > | operator*= (const Right &x) |
Set intersection | |
template<typename Right> | |
std::enable_if_t< is_compatible_set< Right >::value, top_type & > | operator^= (const Right &x) |
Symmetrical difference. | |
template<typename Right> | |
std::enable_if_t< is_compatible_set< Right >::value, Set< E, Comparator > > | extract_symdif (const Right &x) |
Compute the symmetrical difference and make *this equal to s. | |
bool | operator== (const GenericSet< Set2, typename TSet::element_type, typename TSet::element_comparator > &s) const |
comparison | |
bool | operator== (const GenericSet< Set2, typename TSet::element_type, typename TSet::element_comparator > &s) const |
comparison | |
bool | operator== (const GenericSet< Set2, typename TSet::element_type, typename TSet::element_comparator > &s) const |
comparison | |
bool | operator< (const GenericSet< Set2, typename TSet::element_type, typename TSet::element_comparator > &s) const |
lexicographical comparison | |
bool | operator< (const GenericSet< Set2, typename TSet::element_type, typename TSet::element_comparator > &s) const |
lexicographical comparison | |
bool | operator< (const GenericSet< Set2, typename TSet::element_type, typename TSet::element_comparator > &s) const |
lexicographical comparison | |
Generic type for ordered mutable sets