프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 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 static ParseObjectFromString ( string data ) : byte[] | ||
data | string | |
리턴 | byte[] |
public static ToAsciiString ( UInt16 b ) : string | ||
b | UInt16 |
/// A |
리턴 | string |
public static ToAsciiString ( UInt32 b ) : string | ||
b | UInt32 |
/// A |
리턴 | string |