Beispiel #1
0
 public static long IntersectionCount(OpenBitSet a, OpenBitSet b)
 {
     return(BitUtil.Pop_Intersect(a.m_bits, b.m_bits, 0, Math.Min(a.m_wlen, b.m_wlen)));
 }
Beispiel #2
0
 public virtual void AndNot(OpenBitSet other)
 {
     Remove(other);
 }
Beispiel #3
0
 public virtual void Or(OpenBitSet other)
 {
     Union(other);
 }
Beispiel #4
0
 public virtual void And(OpenBitSet other)
 {
     Intersect(other);
 }
Beispiel #5
0
 public OpenBitSetIterator(OpenBitSet obs)
     : this(obs.GetBits(), obs.NumWords)
 {
 }
Beispiel #6
0
 public static long Cardinality(this OpenBitSet set)
 {
     return(set.Cardinality);
 }