|
Polymake Template Library (PTL)
3.0.6
|
Generic type for ordered mutable sets More...


Public Types | |
| typedef E | element_type |
| element types | |
| typedef Comparator | element_comparator |
| functor type for comparing elements | |
| typedef GenericSet | generic_type |
| generic type | |
Public Member Functions | |
| template<typename Right > | |
| top_type & | operator+= (const Right &x) |
| Set union | |
| template<typename Right > | |
| bool | collect (const Right &x) |
| Add to the set, report true if existed formerly. | |
| template<typename Right > | |
| top_type & | operator-= (const Right &x) |
| Set difference | |
| template<typename TSet2 , typename E2 > | |
| top_type & | operator*= (const GenericSet< TSet2, E2, Comparator > &s) |
| Set intersection | |
| template<typename Right > | |
| top_type & | operator^= (const Right &x) |
| Symmetrical difference. | |
| template<typename TSet2 , typename E2 > | |
| Set< E, Comparator > | extract_symdif (const GenericSet< TSet2, E2, Comparator > &s) |
| Compute the symmetrical difference and make *this equal to s. | |
Generic type for ordered mutable sets
1.8.11