trait Definition[T] extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Definition
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract val BitLength: Int
- abstract val NumHashes: Int
-
abstract
def
indices(t: T): Set[Int]
Indices should be hashes % BitLength, ie modded down to ints in [0, BitLength)
Indices should be hashes % BitLength, ie modded down to ints in [0, BitLength)
The MAXIMUM size of the set should be NumHashes, since multiple hashes may by coincidence yield the same index.