pm::GenericMutableSet< _Set, E, Comparator > Class Template Reference

Generic type for ordered mutable sets More...

Inheritance diagram for pm::GenericMutableSet< _Set, E, Comparator >:
Collaboration diagram for pm::GenericMutableSet< _Set, E, Comparator >:

List of all members.


Public Types

typedef GenericSet< _Set, E,
Comparator >::top_type 
top_type
 top 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 not existed formerly.
template<typename Right>
top_type & operator-= (const Right &x)
 Set difference
template<typename Set2, typename E2>
top_type & operator*= (const GenericSet< Set2, E2, Comparator > &s)
 Set intersection
template<typename Right>
top_type & operator^= (const Right &x)
 Symmetrical difference.
template<typename Set2, typename E2>
Set< E, Comparator > extract_symdif (const GenericSet< Set2, E2, Comparator > &s)
 Compute the symmetrical difference and make *this equal to s.

Detailed Description

template<typename _Set, typename E = typename _Set::element_type, typename Comparator = typename _Set::element_comparator>
class pm::GenericMutableSet< _Set, E, Comparator >

Generic type for ordered mutable sets
The documentation for this class was generated from the following file:
  • include/core/polymake/Set.h
Generated on Wed Mar 30 23:31:46 2011 for Polymake Template Library (PTL) by doxygen 1.5.6