codac 1.5.6
|
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. | |
~Set () | |
Set destructor. | |
SetValue | value () const |
Returns the value of this set. | |
int | size () const |
Returns the dimension of the paving. | |
const IntervalVector & | box () const |
Returns the n-dimensional box representing this set. | |
void | set_value (SetValue value) |
Sets the integer value for this set. | |
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 |