C# Class natix.SimilaritySearch.BinPermsTwoBit

Brief permutations encoded with two bits. Approximated index.
Inheritance: BinPerms
显示文件 Open project: sadit/natix

Public Methods

Method Description
BinPermsTwoBit ( ) : System

Constructor

Encode ( Int16 inv ) : byte[]

Encode the inverse permutation into a bit-string / brief permutation

GetDimLengthInBytes ( int invlen ) : int

Returns the length in bytes of the encoded permutation

Method Details

BinPermsTwoBit() public method

Constructor
public BinPermsTwoBit ( ) : System
return System

Encode() public method

Encode the inverse permutation into a bit-string / brief permutation
public Encode ( Int16 inv ) : byte[]
inv System.Int16
return byte[]

GetDimLengthInBytes() public method

Returns the length in bytes of the encoded permutation
public GetDimLengthInBytes ( int invlen ) : int
invlen int
return int