C# 클래스 natix.SimilaritySearch.QStringSpace

String space
상속: MetricDB
파일 보기 프로젝트 열기: sadit/natix

공개 프로퍼티들

프로퍼티 타입 설명
CopyQGramsOnAccess bool
ParseIntegers bool
Q int
TEXT IList

보호된 프로퍼티들

프로퍼티 타입 설명
numdist long

공개 메소드들

메소드 설명
Add ( object a ) : int
AsString ( IList L ) : string
AsString ( int docid ) : string
Build ( string outname, IList text, int sigma, int q, bool copy_on_access = true, bool parse_integers = false, ListIBuilder list_builder = null ) : void
Dice ( IList a, IList b ) : double

Hamming distance

Dist ( object a, object b ) : double

Wrapper to the real string distance

GetQGram ( int docid, int qlen ) : IList
Hamming ( IList a, IList b ) : double

Hamming distance for Generic Datatype

Intersection ( IList a, IList b ) : double

Knr Intersection distance

Jaccard ( IList a, IList b ) : double

Jaccard's distance

LCS ( IList a, IList b ) : double

LCS over Levenshtein

Levenshtein ( IList a, IList b ) : double

Edit distance

Levenshtein ( IList a, IList b, byte inscost, byte delcost, byte repcost ) : int

Levenshtein distance for generic datatype. It has customizable costs

LexicographicCompare ( IList a, IList b ) : int

lexicographic comparison, starting always at position 0 of every sequence

LexicographicCompare ( IList a, int aStart, int aEnd, IList b, int bStart, int bEnd ) : int

Compare to arrays lexicographically, returns an integer representing something like a - b

Load ( BinaryReader Input ) : void
Parse ( string s ) : object

Parse an string into the object representation

PrefixLength ( IList a, IList b ) : double

Knr prefix length distance

QStringSpace ( ) : System

Constructor

Save ( BinaryWriter Output ) : void
this ( int docid ) : object

Retrieves the object associated to object id docid

비공개 메소드들

메소드 설명
minimum3 ( int a, int b, int c ) : int

메소드 상세

Add() 공개 메소드

public Add ( object a ) : int
a object
리턴 int

AsString() 공개 메소드

public AsString ( IList L ) : string
L IList
리턴 string

AsString() 공개 메소드

public AsString ( int docid ) : string
docid int
리턴 string

Build() 공개 메소드

public Build ( string outname, IList text, int sigma, int q, bool copy_on_access = true, bool parse_integers = false, ListIBuilder list_builder = null ) : void
outname string
text IList
sigma int
q int
copy_on_access bool
parse_integers bool
list_builder ListIBuilder
리턴 void

Dice() 공개 정적인 메소드

Hamming distance
public static Dice ( IList a, IList b ) : double
a IList
b IList
리턴 double

Dist() 공개 메소드

Wrapper to the real string distance
public Dist ( object a, object b ) : double
a object
b object
리턴 double

GetQGram() 공개 메소드

public GetQGram ( int docid, int qlen ) : IList
docid int
qlen int
리턴 IList

Hamming() 공개 정적인 메소드

Hamming distance for Generic Datatype
public static Hamming ( IList a, IList b ) : double
a IList
b IList
리턴 double

Intersection() 공개 정적인 메소드

Knr Intersection distance
public static Intersection ( IList a, IList b ) : double
a IList
b IList
리턴 double

Jaccard() 공개 정적인 메소드

Jaccard's distance
public static Jaccard ( IList a, IList b ) : double
a IList
b IList
리턴 double

LCS() 공개 정적인 메소드

LCS over Levenshtein
public static LCS ( IList a, IList b ) : double
a IList
b IList
리턴 double

Levenshtein() 공개 정적인 메소드

Edit distance
public static Levenshtein ( IList a, IList b ) : double
a IList
b IList
리턴 double

Levenshtein() 공개 정적인 메소드

Levenshtein distance for generic datatype. It has customizable costs
public static Levenshtein ( IList a, IList b, byte inscost, byte delcost, byte repcost ) : int
a IList
b IList
inscost byte
delcost byte
repcost byte
리턴 int

LexicographicCompare() 공개 정적인 메소드

lexicographic comparison, starting always at position 0 of every sequence
public static LexicographicCompare ( IList a, IList b ) : int
a IList
b IList
리턴 int

LexicographicCompare() 공개 정적인 메소드

Compare to arrays lexicographically, returns an integer representing something like a - b
public static LexicographicCompare ( IList a, int aStart, int aEnd, IList b, int bStart, int bEnd ) : int
a IList
aStart int
aEnd int
b IList
bStart int
bEnd int
리턴 int

Load() 공개 메소드

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

Parse() 공개 메소드

Parse an string into the object representation
public Parse ( string s ) : object
s string
리턴 object

PrefixLength() 공개 정적인 메소드

Knr prefix length distance
public static PrefixLength ( IList a, IList b ) : double
a IList
b IList
리턴 double

QStringSpace() 공개 메소드

Constructor
public QStringSpace ( ) : System
리턴 System

Save() 공개 메소드

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

this() 공개 메소드

Retrieves the object associated to object id docid
public this ( int docid ) : object
docid int
리턴 object

프로퍼티 상세

CopyQGramsOnAccess 공개적으로 프로퍼티

public bool CopyQGramsOnAccess
리턴 bool

ParseIntegers 공개적으로 프로퍼티

public bool ParseIntegers
리턴 bool

Q 공개적으로 프로퍼티

The length of each element
public int Q
리턴 int

TEXT 공개적으로 프로퍼티

public IList TEXT
리턴 IList

numdist 보호되어 있는 프로퍼티

protected long numdist
리턴 long