Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
adaptive_huffman_demo::Snapshot Struct Reference

A complete tree for one externally observable encoder state. More...

#include <adaptive_huffman_demo_support.H>

Collaboration diagram for adaptive_huffman_demo::Snapshot:
[legend]

Public Attributes

Aleph::Array< Display_Node > nodes
 Root at index zero.
 
size_t leaf_count = 0
 Includes the retained NYT leaf.
 
size_t depth = 0
 Maximum leaf depth.
 

Detailed Description

A complete tree for one externally observable encoder state.

Definition at line 97 of file adaptive_huffman_demo_support.H.

Member Data Documentation

◆ depth

size_t adaptive_huffman_demo::Snapshot::depth = 0

Maximum leaf depth.

Definition at line 101 of file adaptive_huffman_demo_support.H.

Referenced by adaptive_huffman_demo::position_nodes().

◆ leaf_count

size_t adaptive_huffman_demo::Snapshot::leaf_count = 0

Includes the retained NYT leaf.

Definition at line 100 of file adaptive_huffman_demo_support.H.

Referenced by adaptive_huffman_demo::snapshot().

◆ nodes


The documentation for this struct was generated from the following file: