Skip to main content

Module tensor_network

Module tensor_network 

Source
Expand description

tensor_network.rs - Hyperbolic Tensor Network for Hierarchical Data

This module implements the core data network over hyperbolic space:

  • Nodes embedded in the Poincaré disk with parent-child geometric relationships
  • Exact storage of node data (metadata + raw value bytes)
  • Spatial queries (nearest, k-nearest, range) delegated to cell_index

Structs§

CompressedNode
A node in the hyperbolic tensor network.
HyperbolicTensorNetwork
Hyperbolic Tensor Network for tree data representation.
NodeMetadata
Exact metadata stored per node. Never lossy-compressed.

Constants§

RAINBOW_BAND_CAPACITY
Siblings per rainbow band: children beyond this cascade to the next concentric ring. Derived from signature quantization capacity (see create_child_point); 256 keeps a wide margin below the ~700-sibling single-ring collision threshold.