C# Class natix.SimilaritySearch.BinPermsTwoBit

Brief permutations encoded with two bits. Approximated index.
Inheritance: BinPerms
Afficher le fichier Open project: sadit/natix

Méthodes publiques

Méthode 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 méthode

Constructor
public BinPermsTwoBit ( ) : System
Résultat System

Encode() public méthode

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

GetDimLengthInBytes() public méthode

Returns the length in bytes of the encoded permutation
public GetDimLengthInBytes ( int invlen ) : int
invlen int
Résultat int