lab_bloom
Brilliant Bloom Filters
bloom_given.cpp File Reference

Support functions that the autograder will have access to You should not modify this file (it wont be included in your submission) More...

Functions

std::ostream & operator<< (std::ostream &out, BF const &b)
 Stream operator that allows BF to be written to standard streams (like cout). More...
 
int easy (int key)
 A series of provided hashes of various (low) quality Designed more for easy calculations than good hash properties. More...
 
int cpp (int key)
 
int simple (int key)
 
int simple2 (int key)
 
int simple3 (int key)
 

Detailed Description

Support functions that the autograder will have access to You should not modify this file (it wont be included in your submission)

Function Documentation

◆ easy()

int easy ( int  key)

A series of provided hashes of various (low) quality Designed more for easy calculations than good hash properties.

Parameters
keyThe integer being hashed
Returns
The hash value for the integer

◆ operator<<()

std::ostream & operator<< ( std::ostream &  out,
BF const &  b 
)

Stream operator that allows BF to be written to standard streams (like cout).

Parameters
outStream to write to.
bBF to write to the stream.