C# Class natix.SimilaritySearch.BinH8Space

Hamming space for bit strings
Inheritance: MetricDB
Mostra file Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
DATA List
LENS natix.CompactDS.Bitmap

Public Methods

Method Description
Add ( object a ) : int
BinH8Space ( ) : System

Constructor

Build ( string filename, BitmapFromBitStream len_builder = null ) : void

Read the database from a listing file (one filename per line)

Build ( string out_filename, IList data_list, BitmapFromBitStream len_builder = null ) : void
Dist ( object _a, object _b ) : double

The distance function

DistMin ( IList a, IList b ) : double
Load ( BinaryReader Input ) : void
Parse ( string name ) : object

Converts 'name' into an object

ParseAndLoadFromFile ( string name ) : IList
ParseFromString ( string data ) : IList
Save ( BinaryWriter Output ) : void
this ( int docid ) : object

Indexer to retrieve an object

Method Details

Add() public method

public Add ( object a ) : int
a object
return int

BinH8Space() public method

Constructor
public BinH8Space ( ) : System
return System

Build() public method

Read the database from a listing file (one filename per line)
public Build ( string filename, BitmapFromBitStream len_builder = null ) : void
filename string
len_builder BitmapFromBitStream
return void

Build() public method

public Build ( string out_filename, IList data_list, BitmapFromBitStream len_builder = null ) : void
out_filename string
data_list IList
len_builder BitmapFromBitStream
return void

Dist() public method

The distance function
public Dist ( object _a, object _b ) : double
_a object
_b object
return double

DistMin() public method

public DistMin ( IList a, IList b ) : double
a IList
b IList
return double

Load() public method

public Load ( BinaryReader Input ) : void
Input System.IO.BinaryReader
return void

Parse() public method

Converts 'name' into an object
public Parse ( string name ) : object
name string
return object

ParseAndLoadFromFile() public static method

public static ParseAndLoadFromFile ( string name ) : IList
name string
return IList

ParseFromString() public static method

public static ParseFromString ( string data ) : IList
data string
return IList

Save() public method

public Save ( BinaryWriter Output ) : void
Output System.IO.BinaryWriter
return void

this() public method

Indexer to retrieve an object
public this ( int docid ) : object
docid int
return object

Property Details

DATA public_oe property

public List DATA
return List

LENS public_oe property

public Bitmap,natix.CompactDS LENS
return natix.CompactDS.Bitmap