public class ConvolutionalTrieSerializer extends Object
Constructor and Description |
---|
ConvolutionalTrieSerializer() |
Modifier and Type | Method and Description |
---|---|
CharTrie |
deserialize(byte[] bytes)
Deserialize char trie.
|
protected long |
getUpperBound(TrieNode currentParent,
AtomicLong currentChildren,
TrieNode godchildNode,
int godchildAdjustment)
Gets upper bound.
|
PrintStream |
getVerbose()
Gets verbose.
|
byte[] |
serialize(CharTrie charTrie)
Serialize byte [ ].
|
ConvolutionalTrieSerializer |
setVerbose(PrintStream verbose)
Sets verbose.
|
public byte[] serialize(CharTrie charTrie)
charTrie
- the char triepublic CharTrie deserialize(byte[] bytes)
bytes
- the bytesprotected long getUpperBound(TrieNode currentParent, AtomicLong currentChildren, TrieNode godchildNode, int godchildAdjustment)
currentParent
- the current parentcurrentChildren
- the current childrengodchildNode
- the godchild nodegodchildAdjustment
- the godchild adjustmentpublic PrintStream getVerbose()
public ConvolutionalTrieSerializer setVerbose(PrintStream verbose)
verbose
- the verboseCopyright © 2019 SimiaCryptus Software. All rights reserved.