{"title":"Bit vector encoding via decomposition","authors":"R. Jeffords","doi":"10.1145/503896.503933","DOIUrl":null,"url":null,"abstract":"The decomposition encoding of an n-bit vector V is an approach to the problem of how best to encode a bit vector under the constraints that this vector be encoded into blocks of t bits, and that access time for each bit of the original vector be constant, i.e. \"random access.\" This method involves encoding the vector as two separate matrices F1 and F2. Essential to the method is the decomposition of N--the indexing set for V--by means of an injection (h1,h2): N --> R1 x R2 : m │--> (h1(m),h2(m)). Decoding involves some simply computed function f(F1[h1(m);],F2[h2(m);]). The emphasis in this paper is upon compact encodings for static vectors. For one choice of f--XOR decomposition encoding--it is shown by linear algebraic techniques that a decomposition encoding requiring the minimal t for a given (h1,h2) pair can be determined. Of more practical interest is minimization of the total number of bits in the encoding for all possible injections (h1,h2). Experimental results using a number of easily computed (h1,h2) pairs show that compactions to one half of the ordinary packed representation can be achieved via decomposition encoding for relatively sparse bit vectors.","PeriodicalId":184493,"journal":{"name":"ACM-SE 20","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1982-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM-SE 20","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503896.503933","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The decomposition encoding of an n-bit vector V is an approach to the problem of how best to encode a bit vector under the constraints that this vector be encoded into blocks of t bits, and that access time for each bit of the original vector be constant, i.e. "random access." This method involves encoding the vector as two separate matrices F1 and F2. Essential to the method is the decomposition of N--the indexing set for V--by means of an injection (h1,h2): N --> R1 x R2 : m │--> (h1(m),h2(m)). Decoding involves some simply computed function f(F1[h1(m);],F2[h2(m);]). The emphasis in this paper is upon compact encodings for static vectors. For one choice of f--XOR decomposition encoding--it is shown by linear algebraic techniques that a decomposition encoding requiring the minimal t for a given (h1,h2) pair can be determined. Of more practical interest is minimization of the total number of bits in the encoding for all possible injections (h1,h2). Experimental results using a number of easily computed (h1,h2) pairs show that compactions to one half of the ordinary packed representation can be achieved via decomposition encoding for relatively sparse bit vectors.