Свойство | Тип | Описание | |
---|---|---|---|
symlen | int |
Свойство | Тип | Описание | |
---|---|---|---|
numdist | long |
Метод | Описание | |
---|---|---|
Add ( object a ) : int | ||
BinQ8HammingSpace ( ) : System | ||
BinQ8HammingSpace ( int symlen ) : System |
Constructor
|
|
Build ( string filename ) : void |
Read the database from a listing file (one filename per line)
|
|
Dist ( object a, object b ) : double |
Wrap the distance to the given BinDist distance.
|
|
DistHamming ( byte a, byte b ) : double | ||
Load ( BinaryReader Input ) : void | ||
LoadObjectFromFile ( string name, bool save_binary_cache ) : byte[] | ||
ObjectToAsciiString ( int docid ) : string |
Converts an object to Ascii '0' and '1' using an object id
|
|
Parse ( string line ) : object |
Converts 'name' into an object
|
|
ParseFromFile ( string name ) : object | ||
ParseObjectFromString ( string data ) : byte[] | ||
Save ( BinaryWriter Output ) : void | ||
ToAsciiString ( IList |
Converts an object to a readeable representation in ascii '0' and '1'
|
|
ToAsciiString ( UInt16 b ) : string |
Returns the string representation of an UInt16
|
|
ToAsciiString ( UInt32 b ) : string |
Returns the string representation of an UInt32
|
|
ToAsciiString ( UInt64 b ) : string |
Converts an UInt64 to binary (ascii format)
|
|
ToAsciiString ( byte b ) : string |
Returns a string representation of a single byte
|
|
ToAsciiString ( int d ) : string | ||
this ( int docid ) : object |
Indexer to retrieve an object
|
public BinQ8HammingSpace ( int symlen ) : System | ||
symlen | int | |
Результат | System |
public Dist ( object a, object b ) : double | ||
a | object | |
b | object | |
Результат | double |
public static DistHamming ( byte a, byte b ) : double | ||
a | byte | |
b | byte | |
Результат | double |
public static LoadObjectFromFile ( string name, bool save_binary_cache ) : byte[] | ||
name | string | |
save_binary_cache | bool | |
Результат | byte[] |
public ObjectToAsciiString ( int docid ) : string | ||
docid | int |
/// The object identifier
/// A |
Результат | string |
public ParseFromFile ( string name ) : object | ||
name | string | |
Результат | object |
public static ParseObjectFromString ( string data ) : byte[] | ||
data | string | |
Результат | byte[] |
public Save ( BinaryWriter Output ) : void | ||
Output | BinaryWriter | |
Результат | void |
public static ToAsciiString ( IList |
||
b | IList |
|
Результат | string |
public static ToAsciiString ( UInt16 b ) : string | ||
b | UInt16 |
/// A |
Результат | string |
public static ToAsciiString ( UInt32 b ) : string | ||
b | UInt32 |
/// A |
Результат | string |
public static ToAsciiString ( UInt64 b ) : string | ||
b | UInt64 | |
Результат | string |
public static ToAsciiString ( byte b ) : string | ||
b | byte | |
Результат | string |
public static ToAsciiString ( int d ) : string | ||
d | int | |
Результат | string |