Search in sources :

Example 1 with BytesConstantTimeSelect0SuccinctBitVector

use of org.trie4j.bv.BytesConstantTimeSelect0SuccinctBitVector in project trie4j by takawitter.

the class BytesConstantTimeSelect0TailLOUDSPPTrieWithSuffixTrieDenseTailArrayWikipediaSerializeTest method secondTrie.

@Override
protected Trie secondTrie(Trie firstTrie) {
    Trie t = new TailLOUDSTrie(firstTrie, new LOUDSPPBvTree(new BytesRank0OnlySuccinctBitVector(), new BytesConstantTimeSelect0SuccinctBitVector()), new SuffixTrieDenseTailArrayBuilder());
    t.trimToSize();
    return t;
}
Also used : LOUDSPPBvTree(org.trie4j.louds.bvtree.LOUDSPPBvTree) BytesRank0OnlySuccinctBitVector(org.trie4j.bv.BytesRank0OnlySuccinctBitVector) SuffixTrieDenseTailArrayBuilder(org.trie4j.tail.SuffixTrieDenseTailArrayBuilder) BytesConstantTimeSelect0SuccinctBitVector(org.trie4j.bv.BytesConstantTimeSelect0SuccinctBitVector) Trie(org.trie4j.Trie)

Aggregations

Trie (org.trie4j.Trie)1 BytesConstantTimeSelect0SuccinctBitVector (org.trie4j.bv.BytesConstantTimeSelect0SuccinctBitVector)1 BytesRank0OnlySuccinctBitVector (org.trie4j.bv.BytesRank0OnlySuccinctBitVector)1 LOUDSPPBvTree (org.trie4j.louds.bvtree.LOUDSPPBvTree)1 SuffixTrieDenseTailArrayBuilder (org.trie4j.tail.SuffixTrieDenseTailArrayBuilder)1