|
Java example source code file (HuffmanNode.java)
The HuffmanNode.java Java example source codepackage org.deeplearning4j.models.word2vec.wordstore; import lombok.Data; import lombok.NonNull; /** * Huffman tree node info, needed for w2v calculations. * Used only in StandaloneWord2Vec internals. * * @author raver119@gmail.com */ @Data public class HuffmanNode { @NonNull private byte[] code; @NonNull private int[] point; @NonNull private int idx; @NonNull private byte length; public HuffmanNode() { } public HuffmanNode(byte[] code, int[] point, int index, byte length) { this.code = code; this.point = point; this.idx = index; this.length = length; } } Other Java examples (source code examples)Here is a short list of links related to this Java HuffmanNode.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.