DGtal 1.4.0
|
#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, ordered containers.
Definition at line 514 of file SetFunctions.h.
|
inlinestatic |
Updates the set S1 as S1 - S2. This version uses 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 566 of file SetFunctions.h.
|
inlinestatic |
Updates the set S1 as \( S1 \cap S2 \). This version uses 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 606 of file SetFunctions.h.
|
inlinestatic |
Updates the set S1 as \( S1 \Delta S2 \). This version uses 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 626 of file SetFunctions.h.
|
inlinestatic |
Updates the set S1 as \( S1 \cup S2 \). This version uses 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 586 of file SetFunctions.h.
|
inlinestatic |
Equality test. This version uses the fact that the container is ordered.
[in] | S1 | an input set. |
[in] | S2 | another input set. |
Definition at line 524 of file SetFunctions.h.
|
inlinestatic |
Inclusion test. This version uses the fact that the container is ordered.
[in] | S1 | an input set. |
[in] | S2 | another input set. |
Definition at line 547 of file SetFunctions.h.