C# Class natix.SimilaritySearch.SampleSpace

A sample of an space
Inheritance: MetricDB
Mostra file Open project: sadit/natix Class Usage Examples

Public Properties

Property Type Description
DB MetricDB
SAMPLE IList

Public Methods

Method Description
Add ( object a ) : int
Dist ( object a, object b ) : double
Load ( BinaryReader Input ) : void
Parse ( string s ) : object
SampleSpace ( ) : System
SampleSpace ( string name, MetricDB db, IList sample ) : System
SampleSpace ( string name, MetricDB db, int samplesize ) : System
SampleSpace ( string name, MetricDB db, int samplesize, Random rand ) : System
Save ( BinaryWriter Output ) : void
this ( int docid ) : object

Method Details

Add() public method

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

Dist() public method

public Dist ( object a, object b ) : double
a object
b object
return double

Load() public method

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

Parse() public method

public Parse ( string s ) : object
s string
return object

SampleSpace() public method

public SampleSpace ( ) : System
return System

SampleSpace() public method

public SampleSpace ( string name, MetricDB db, IList sample ) : System
name string
db MetricDB
sample IList
return System

SampleSpace() public method

public SampleSpace ( string name, MetricDB db, int samplesize ) : System
name string
db MetricDB
samplesize int
return System

SampleSpace() public method

public SampleSpace ( string name, MetricDB db, int samplesize, Random rand ) : System
name string
db MetricDB
samplesize int
rand System.Random
return System

Save() public method

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

this() public method

public this ( int docid ) : object
docid int
return object

Property Details

DB public_oe property

public MetricDB DB
return MetricDB

SAMPLE public_oe property

public IList SAMPLE
return IList