25 #ifndef UQ_INTERSECTION_SUBSET_H
26 #define UQ_INTERSECTION_SUBSET_H
28 #include <queso/VectorSpace.h>
29 #include <queso/VectorSubset.h>
41 template<
class V,
class M>
67 void print (std::ostream& os)
const;
87 #endif // UQ_INTERSECTION_SUBSET_H
const std::string & prefix() const
Access to private attribute m_prefix.
~IntersectionSubset()
Destructor.
A templated class representing the intersection of two vector sets.
A templated class for handling sets.
void print(std::ostream &os) const
Prints both subsets (via protected attributes m_set1 and m_set2).
const VectorSpace< V, M > & vectorSpace() const
Vector space to which this set belongs to. See template specialization.
IntersectionSubset(const char *prefix, const VectorSpace< V, M > &vectorSpace, double volume, const VectorSet< V, M > &set1, const VectorSet< V, M > &set2)
Default, shaped constructor.
A templated class for handling subsets.
const VectorSet< V, M > & m_set1
Vector set: m_set1.
A class representing a vector space.
double volume() const
Set volume; access to private attribute m_volume.
const VectorSet< V, M > & m_set2
Vector set: m_set2.
bool contains(const V &vec) const
Determines whether both sets m_set1 and m_set2 (class' private attributes) contain vector vec...