25 #ifndef UQ_CONCATENATION_SUBSET_H
26 #define UQ_CONCATENATION_SUBSET_H
28 #include <queso/VectorSpace.h>
29 #include <queso/VectorSubset.h>
39 template<
class V,
class M>
71 void print (std::ostream& os)
const;
80 std::vector<const VectorSet<V,M>* >
m_sets;
85 #endif // UQ_CONCATENATION_SUBSET_H
const std::string & prefix() const
Access to private attribute m_prefix.
A templated class for handling sets.
A templated class representing the concatenation of two vector subsets.
const VectorSpace< V, M > & vectorSpace() const
Vector space to which this set belongs to. See template specialization.
std::vector< const VectorSet< V, M > * > m_sets
A templated class for handling subsets.
ConcatenationSubset(const char *prefix, const VectorSpace< V, M > &vectorSpace, const VectorSet< V, M > &set1, const VectorSet< V, M > &set2)
Constructor - two sets only.
bool contains(const V &vec) const
Determines whether each one of the subsets m_sets (class' private attributes) contains vector vec...
A class representing a vector space.
double volume() const
Set volume; access to private attribute m_volume.
~ConcatenationSubset()
Destructor.
void print(std::ostream &os) const
Prints the subsets (via protected attribute m_sets).