C# 클래스 StopGuessing.DataStructures.AgingMembershipSketch

상속: AgingSketch
파일 보기 프로젝트 열기: Microsoft/StopGuessing 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AddMember() 공개 메소드

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.
리턴 bool

AgingMembershipSketch() 공개 메소드

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
리턴 System.Threading.Tasks

IsMember() 공개 메소드

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