Empirical
|
Tools to save and load data from classes. More...
Go to the source code of this file.
Namespaces | |
emp | |
If we are in emscripten, make sure to include the header. | |
Functions | |
template<typename T > | |
void | emp::insert (std::set< T > &s1, const std::set< T > &s2) |
Insert the full contents of s2 into s1. More... | |
template<typename T , typename H > | |
bool | emp::Has (const std::set< T, H > &s, const T &val) |
Test if an std::set has a particular element without modifying the set in any way. More... | |
template<typename T , typename H > | |
bool | emp::Has (const std::multiset< T, H > &s, const T &val) |
Test if an std::multiset has a particular element without modifying the set in any way. More... | |
template<typename T , typename H > | |
bool | emp::Has (const std::unordered_set< T, H > &s, const T &val) |
Test if an std::unordered_set has a particular element without modifying the set in any way. More... | |
template<typename T , typename H > | |
bool | emp::Has (const std::unordered_multiset< T, H > &s, const T &val) |
Test if an std::unordere_multiset has a particular element without modifying the set in any way. More... | |
template<typename T > | |
std::set< T > | emp::difference (std::set< T > &s1, std::set< T > &s2) |
Compute the set difference of. More... | |
template<typename T > | |
std::set< T > | emp::difference (emp::vector< T > s1, emp::vector< T > &s2) |
Compute the set difference of. More... | |
template<typename T > | |
std::set< T > | emp::difference (std::set< T > &s1, emp::vector< T > s2) |
Compute the set difference of. More... | |
template<typename T > | |
std::set< T > | emp::difference (emp::vector< T > s1, std::set< T > &s2) |
Compute the set difference of. More... | |
template<typename T > | |
std::set< T > | emp::intersection (std::set< T > s1, std::set< T > s2) |
Compute the set intersection of. More... | |
template<typename T > | |
std::set< T > | emp::intersection (emp::vector< T > s1, emp::vector< T > s2) |
Compute the set intersection of. More... | |
template<typename T > | |
std::set< T > | emp::intersection (std::set< T > s1, emp::vector< T > s2) |
Compute the set intersection of. More... | |
template<typename T > | |
std::set< T > | emp::intersection (emp::vector< T > s1, std::set< T > s2) |
Compute the set intersection of. More... | |
template<typename T > | |
std::set< T > | emp::set_union (std::set< T > s1, std::set< T > s2) |
Compute the set union of. More... | |
template<typename T > | |
std::set< T > | emp::set_union (emp::vector< T > s1, emp::vector< T > s2) |
Compute the set union of. More... | |
template<typename T > | |
std::set< T > | emp::set_union (std::set< T > s1, emp::vector< T > s2) |
Compute the set union of. More... | |
template<typename T > | |
std::set< T > | emp::set_union (emp::vector< T > s1, std::set< T > s2) |
Compute the set union of. More... | |
template<typename T > | |
std::set< T > | emp::symmetric_difference (std::set< T > s1, std::set< T > s2) |
Compute the set symmetric_difference of. More... | |
template<typename T > | |
std::set< T > | emp::symmetric_difference (emp::vector< T > s1, emp::vector< T > s2) |
Compute the set symmetric_difference of. More... | |
template<typename T > | |
std::set< T > | emp::symmetric_difference (std::set< T > s1, emp::vector< T > s2) |
Compute the set symmetric_difference of. More... | |
template<typename T > | |
std::set< T > | emp::symmetric_difference (emp::vector< T > s1, std::set< T > s2) |
Compute the set symmetric_difference of. More... | |
Tools to save and load data from classes.