C# Class StopGuessing.DataStructures.AgingMembershipSketch

Inheritance: AgingSketch
Afficher le fichier Open project: Microsoft/StopGuessing Class Usage Examples

Méthodes publiques

Méthode Description
AddMember ( string s ) : bool

Test if a string (s) is a member of the set and Step it if it is not.

AgingMembershipSketch ( long numberOfColumns, long numberOfRows, int bitsPerElement = 2, float fractionRowZerosMin = .45f, float fractionRowZerosMax = .55f ) : System.Threading.Tasks
IsMember ( string s ) : bool

Test if a string (s) is a member of the set.

Method Details

AddMember() public méthode

Test if a string (s) is a member of the set and Step it if it is not.
public AddMember ( string s ) : bool
s string The string to Step.
Résultat bool

AgingMembershipSketch() public méthode

public AgingMembershipSketch ( long numberOfColumns, long numberOfRows, int bitsPerElement = 2, float fractionRowZerosMin = .45f, float fractionRowZerosMax = .55f ) : System.Threading.Tasks
numberOfColumns long
numberOfRows long
bitsPerElement int
fractionRowZerosMin float
fractionRowZerosMax float
Résultat System.Threading.Tasks

IsMember() public méthode

Test if a string (s) is a member of the set.
public IsMember ( string s ) : bool
s string Thee string to search for
Résultat bool