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 non-associative, ordered containers. Could be a sorted std::vector or std::list.
Definition at line 646 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 691 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 729 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 748 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 710 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 655 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 674 of file SetFunctions.h.