#include <domain.h>
Public Types | |
| typedef vector< Domain >::const_iterator | const_iterator |
| Iterator. | |
Public Member Functions | |
| Domains (unsigned int n=0) | |
| Create a sequence of empty domains. | |
| Domains (Domain d1) | |
| Create domains with one element. | |
| bool | is_some_infinite () const |
| Check if some domain is infinite. | |
| Domain & | operator[] (unsigned int idx) |
| Get one of the domains. | |
| const Domain & | operator[] (unsigned int idx) const |
| Get one of the domains. | |
| Domain | union_all () const |
| Get union of all domains. | |
| bool | is_disjoint (const Domains &ds2) const |
| Check if other domains are disjoint. | |
| Domains | intersect_with (Domain d) const |
| Intersect domains with another domain. | |
| Domains | cut_to_same_sizes (Domains ds) const |
| Cut domains to the same size as another sequence of domains. | |
| const_iterator | begin () const |
| Get iterator pointing to beginning. | |
| const_iterator | end () const |
| Get iterator pointing to end. | |
| unsigned int | size () const |
| Get size of domains. | |
| template<class _UnaryFunction> Domains | transform (_UnaryFunction op) const |
| transform elements of domains | |
Static Public Member Functions | |
| Domains | sup (const Domains &ds1, const Domains &ds2) |
| Get largest domain for each component. | |
Friends | |
| Domains | operator * (Domains ds1, Domains ds2) |
| Cross product of domains. | |
| bool | operator== (Domains ds1, Domains ds2) |
| Equality. | |
|
|
Iterator.
|
|
|
Create a sequence of empty domains.
|
|
|
Create domains with one element.
|
|
|
Get iterator pointing to beginning.
|
|
|
Cut domains to the same size as another sequence of domains.
|
|
|
Get iterator pointing to end.
|
|
|
Intersect domains with another domain. All domains are intersected with d
|
|
|
Check if other domains are disjoint.
|
|
|
Check if some domain is infinite.
|
|
|
Get one of the domains.
|
|
|
Get one of the domains.
|
|
|
Get size of domains.
|
|
||||||||||||
|
Get largest domain for each component.
|
|
||||||||||
|
transform elements of domains
|
|
|
Get union of all domains.
|
|
||||||||||||
|
Cross product of domains.
|
|
||||||||||||
|
Equality.
|
1.3.6