C# Class natix.SimilaritySearch.PermTree.Node

Show file Open project: sadit/natix

Public Properties

Property Type Description
bag List
children Node>.Dictionary
refs int[]

Public Methods

Method Description
Add ( int objID ) : void
Build ( MetricDB db, Random rand, int bucketSize ) : void
ComputeFingerprint ( object u, MetricDB db ) : long
Node ( MetricDB db, Random rand, int bucketSize ) : System
Search ( MetricDB db, object q, IResult res, int numCandidates ) : void
distL1 ( long a, long b ) : double
distL2 ( long a, long b ) : double

Method Details

Add() public method

public Add ( int objID ) : void
objID int
return void

Build() public method

public Build ( MetricDB db, Random rand, int bucketSize ) : void
db MetricDB
rand System.Random
bucketSize int
return void

ComputeFingerprint() public method

public ComputeFingerprint ( object u, MetricDB db ) : long
u object
db MetricDB
return long

Node() public method

public Node ( MetricDB db, Random rand, int bucketSize ) : System
db MetricDB
rand System.Random
bucketSize int
return System

Search() public method

public Search ( MetricDB db, object q, IResult res, int numCandidates ) : void
db MetricDB
q object
res IResult
numCandidates int
return void

distL1() public method

public distL1 ( long a, long b ) : double
a long
b long
return double

distL2() public method

public distL2 ( long a, long b ) : double
a long
b long
return double

Property Details

bag public property

public List bag
return List

children public property

public Dictionary children
return Node>.Dictionary

refs public property

public int[] refs
return int[]