C# 클래스 natix.SimilaritySearch.LSH_FloatVectorL2

LSH for Binary hamming space
상속: LSH
파일 보기 프로젝트 열기: sadit/natix 1 사용 예제들

공개 메소드들

메소드 설명
ComputeHash ( object _u ) : int

Compute the LSH hashes

GetPStableRandomVector ( Random rand, int dim ) : float[]
Load ( BinaryReader Input ) : void
PreBuild ( Random rand, object firstObject ) : void
Save ( BinaryWriter Output ) : void
microHash ( float a, float b ) : int

메소드 상세

ComputeHash() 공개 메소드

Compute the LSH hashes
public ComputeHash ( object _u ) : int
_u object
리턴 int

GetPStableRandomVector() 공개 메소드

public GetPStableRandomVector ( Random rand, int dim ) : float[]
rand System.Random
dim int
리턴 float[]

Load() 공개 메소드

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
리턴 void

PreBuild() 공개 메소드

public PreBuild ( Random rand, object firstObject ) : void
rand System.Random
firstObject object
리턴 void

Save() 공개 메소드

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
리턴 void

microHash() 공개 메소드

public microHash ( float a, float b ) : int
a float
b float
리턴 int