Property | Type | Description | |
---|---|---|---|
symlen | int |
Property | Type | Description | |
---|---|---|---|
numdist | long |
Method | Description | |
---|---|---|
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 | |
return | System |
public static DistHamming ( byte a, byte b ) : double | ||
a | byte | |
b | byte | |
return | double |
public static LoadObjectFromFile ( string name, bool save_binary_cache ) : byte[] | ||
name | string | |
save_binary_cache | bool | |
return | byte[] |
public ObjectToAsciiString ( int docid ) : string | ||
docid | int |
/// The object identifier
/// A |
return | string |
public ParseFromFile ( string name ) : object | ||
name | string | |
return | object |
public static ParseObjectFromString ( string data ) : byte[] | ||
data | string | |
return | byte[] |
public static ToAsciiString ( IList |
||
b | IList |
|
return | string |
public static ToAsciiString ( UInt16 b ) : string | ||
b | UInt16 |
/// A |
return | string |
public static ToAsciiString ( UInt32 b ) : string | ||
b | UInt32 |
/// A |
return | string |
public static ToAsciiString ( UInt64 b ) : string | ||
b | UInt64 | |
return | string |
public static ToAsciiString ( byte b ) : string | ||
b | byte | |
return | string |
public static ToAsciiString ( int d ) : string | ||
d | int | |
return | string |