Ejemplo n.º 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)));
 }
Ejemplo n.º 2
0
 public virtual void AndNot(OpenBitSet other)
 {
     Remove(other);
 }
Ejemplo n.º 3
0
 public virtual void Or(OpenBitSet other)
 {
     Union(other);
 }
Ejemplo n.º 4
0
 public virtual void And(OpenBitSet other)
 {
     Intersect(other);
 }
Ejemplo n.º 5
0
 public OpenBitSetIterator(OpenBitSet obs)
     : this(obs.GetBits(), obs.NumWords)
 {
 }
Ejemplo n.º 6
0
 public static long Cardinality(this OpenBitSet set)
 {
     return(set.Cardinality);
 }