|
codac
1.5.7
|
Multi-dimensional interval-based representation of a set. More...
#include <codac_Set.h>

Public Member Functions | |
| Set (const IntervalVector &box, SetValue value=SetValue::UNKNOWN) | |
| Creates a set. More... | |
| ~Set () | |
| Set destructor. | |
| SetValue | value () const |
| Returns the value of this set. More... | |
| int | size () const |
| Returns the dimension of the paving. More... | |
| const IntervalVector & | box () const |
| Returns the n-dimensional box representing this set. More... | |
| void | set_value (SetValue value) |
| Sets the integer value for this set. More... | |
Protected Attributes | |
| SetValue | m_value |
| integer value of this set | |
| IntervalVector | m_box |
| box representing this set | |
Multi-dimensional interval-based representation of a set.
Its value is represented by an integer.
| codac::Set::Set | ( | const IntervalVector & | box, |
| SetValue | value = SetValue::UNKNOWN |
||
| ) |
Creates a set.
| box | n-dimensional box representing the set |
| value | integer of the set, SetValue::UNKNOWN by default |
| SetValue codac::Set::value | ( | ) | const |
Returns the value of this set.
| int codac::Set::size | ( | ) | const |
Returns the dimension of the paving.
| const IntervalVector& codac::Set::box | ( | ) | const |
Returns the n-dimensional box representing this set.
| void codac::Set::set_value | ( | SetValue | value | ) |
Sets the integer value for this set.
| value |