Search in sources :

Example 1 with LongsConstantTimeSelect0SuccinctBitVector

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

the class LongsConstantTimeSelect0TailLOUDSPPTrieWithSuffixTrieDenseTailArrayWikipediaSerializeTest method secondTrie.

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

Aggregations

Trie (org.trie4j.Trie)1 LongsConstantTimeSelect0SuccinctBitVector (org.trie4j.bv.LongsConstantTimeSelect0SuccinctBitVector)1 LongsRank0OnlySuccinctBitVector (org.trie4j.bv.LongsRank0OnlySuccinctBitVector)1 LOUDSPPBvTree (org.trie4j.louds.bvtree.LOUDSPPBvTree)1 SuffixTrieDenseTailArrayBuilder (org.trie4j.tail.SuffixTrieDenseTailArrayBuilder)1