24 #ifndef PPL_Variables_Set_inlines_hh
25 #define PPL_Variables_Set_inlines_hh 1
55 reverse_iterator i = rbegin();
56 return (i == rend()) ? 0 : (*i + 1);
64 enum color { red, black };
65 return size() * (
sizeof(color) + 3*
sizeof(
void*) +
sizeof(
dimension_type));
75 #endif // !defined(PPL_Variables_Set_inlines_hh)
dimension_type space_dimension() const
Returns the dimension of the smallest vector space enclosing all the variables whose indexes are in t...
size_t dimension_type
An unsigned integral type for representing space dimensions.
static dimension_type max_space_dimension()
Returns the maximum space dimension a Variable can handle.
dimension_type id() const
Returns the index of the Cartesian axis associated to the variable.
A dimension of the vector space.
std::set< dimension_type > Base
static dimension_type max_space_dimension()
Returns the maximum space dimension a Variables_Set can handle.
memory_size_type total_memory_in_bytes() const
Returns the total size in bytes of the memory occupied by *this.
The entire library is confined to this namespace.
void insert(Variable v)
Inserts the index of variable v into the set.
Variables_Set()
Builds the empty set of variable indexes.
size_t memory_size_type
An unsigned integral type for representing memory size in bytes.
memory_size_type external_memory_in_bytes() const
Returns the size in bytes of the memory managed by *this.