Class WeightedBitMask
- java.lang.Object
-
- java.util.BitSet
-
- org.processmining.specpp.datastructures.encoding.BitMask
-
- org.processmining.specpp.datastructures.encoding.WeightedBitMask
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,MutatingSetOperations<BitMask>,SetQueries<BitMask>,Copyable<BitMask>,PartiallyOrdered<BitMask>
public class WeightedBitMask extends BitMask
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WeightedBitMask()WeightedBitMask(double weight, java.util.function.IntToDoubleFunction currentWeightFunction)WeightedBitMask(BitMask bitMask, java.util.function.IntToDoubleFunction weightFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitMaskcopy()doublegetWeight()voidintersection(BitMask other)voidsetminus(BitMask other)java.lang.StringtoString()voidunion(BitMask other)-
Methods inherited from class org.processmining.specpp.datastructures.encoding.BitMask
completelySet, gt, intersects, isSubsetOf, isSupersetOf, iterator, kMaxIndex, kMinIndex, lt, of, of, setEquality
-
Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toLongArray, valueOf, valueOf, valueOf, valueOf, xor
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.specpp.traits.PartiallyOrdered
equivalent
-
Methods inherited from interface org.processmining.specpp.datastructures.encoding.SetQueries
isDisjoint, isStrictSubsetOf, isStrictSupersetOf
-
-
-
-
Constructor Detail
-
WeightedBitMask
public WeightedBitMask()
-
WeightedBitMask
public WeightedBitMask(double weight, java.util.function.IntToDoubleFunction currentWeightFunction)
-
WeightedBitMask
public WeightedBitMask(BitMask bitMask, java.util.function.IntToDoubleFunction weightFunction)
-
-
Method Detail
-
getWeight
public double getWeight()
-
union
public void union(BitMask other)
- Specified by:
unionin interfaceMutatingSetOperations<BitMask>- Overrides:
unionin classBitMask
-
setminus
public void setminus(BitMask other)
- Specified by:
setminusin interfaceMutatingSetOperations<BitMask>- Overrides:
setminusin classBitMask
-
intersection
public void intersection(BitMask other)
- Specified by:
intersectionin interfaceMutatingSetOperations<BitMask>- Overrides:
intersectionin classBitMask
-
copy
public BitMask copy()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.BitSet
-
-