DGtal
1.5.beta
|
#include <DGtal/base/SetFunctions.h>
Static Public Member Functions | |
static bool | isEqual (const Container &S1, const Container &S2) |
static bool | isSubset (const Container &S1, const Container &S2) |
static Container & | assignDifference (Container &S1, const Container &S2) |
static Container & | assignUnion (Container &S1, const Container &S2) |
static Container & | assignIntersection (Container &S1, const Container &S2) |
static Container & | assignSymmetricDifference (Container &S1, const Container &S2) |
Specialization for associative, unordered containers (unordered_set, unordered_map).
Definition at line 392 of file SetFunctions.h.
|
inlinestatic |
Updates the set S1 as S1 - S2. This version does not use the fact that the container is ordered.
[in,out] | S1 | an input set, S1 - S2 as output. |
[in] | S2 | another input set. |
Definition at line 444 of file SetFunctions.h.
|
inlinestatic |
Updates the set S1 as \( S1 \cap S2 \). This version does not use the fact that the container is ordered.
[in,out] | S1 | an input set, \( S1 \cap S2 \) as output. |
[in] | S2 | another input set. |
Definition at line 477 of file SetFunctions.h.
|
inlinestatic |
Updates the set S1 as \( S1 \Delta S2 \). This version does not use the fact that the container is ordered.
[in,out] | S1 | an input set, \( S1 \Delta S2 \) as output. |
[in] | S2 | another input set. |
Definition at line 500 of file SetFunctions.h.
References DGtal::detail::SetFunctionsImpl< Container, associative, ordered >::assignDifference(), DGtal::detail::SetFunctionsImpl< Container, associative, ordered >::assignIntersection(), and DGtal::detail::SetFunctionsImpl< Container, associative, ordered >::assignUnion().
|
inlinestatic |
Updates the set S1 as \( S1 \cup S2 \). This version does not use the fact that the container is ordered.
[in,out] | S1 | an input set, \( S1 \cup S2 \) as output. |
[in] | S2 | another input set. |
Definition at line 462 of file SetFunctions.h.
|
inlinestatic |
Equality test. This version does not use the fact that the container is ordered.
[in] | S1 | an input set. |
[in] | S2 | another input set. |
Definition at line 402 of file SetFunctions.h.
|
inlinestatic |
Inclusion test. This version does not use the fact that the container is ordered.
[in] | S1 | an input set. |
[in] | S2 | another input set. |
Definition at line 424 of file SetFunctions.h.