C# Класс natix.SimilaritySearch.QStringSpace

String space
Наследование: MetricDB
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
CopyQGramsOnAccess bool
ParseIntegers bool
Q int
TEXT IList

Защищенные свойства (Protected)

Свойство Тип Описание
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