E
Evyn
Hi,
What is the best way to implement a union for fuzzy sets in C++? I have
used the following code for crisp sets, but the trick to converting it
for fuzzy sets eludes me.
std::set_union(vec1.begin(), vec1.end(), vec2.begin(), vec2.end(),
std::back_inserter<std::vector<double> >(vec3));
sort (vec3.begin (), vec3.end (), less <double> ());
TIA
Evyn
What is the best way to implement a union for fuzzy sets in C++? I have
used the following code for crisp sets, but the trick to converting it
for fuzzy sets eludes me.
std::set_union(vec1.begin(), vec1.end(), vec2.begin(), vec2.end(),
std::back_inserter<std::vector<double> >(vec3));
sort (vec3.begin (), vec3.end (), less <double> ());
TIA
Evyn