C# Class BloomFilter, weekly-algorithms

显示文件 Open project: xamarin/weekly-algorithms Class Usage Examples

Public Methods

Method Description
Add ( string str ) : void
BloomFilter ( int size, IEnumerable _hashes ) : System
Lookup ( string str ) : bool
Occupancy ( ) : float

Method Details

Add() public method

public Add ( string str ) : void
str string
return void

BloomFilter() public method

public BloomFilter ( int size, IEnumerable _hashes ) : System
size int
_hashes IEnumerable
return System

Lookup() public method

public Lookup ( string str ) : bool
str string
return bool

Occupancy() public method

public Occupancy ( ) : float
return float