| 79 | } |
| 80 | |
| 81 | CBV CBV::Union(CBV const & rhs) const |
| 82 | { |
| 83 | if (IsFull() || rhs.IsEmpty()) |
| 84 | return *this; |
| 85 | if (IsEmpty() || rhs.IsFull()) |
| 86 | return rhs; |
| 87 | return CBV(coding::CompressedBitVector::Union(*m_p, *rhs.m_p)); |
| 88 | } |
| 89 | |
| 90 | CBV CBV::Intersect(CBV const & rhs) const |
| 91 | { |