Expand description
§Hypervector Crate
This crate implements high-dimensional vectors for hyperdimensional computing and Vector Symbolic Architectures (VSAs). It currently provides two implementations:
- MBAT: Bipolar vectors (elements in {-1, +1}).
- SSP: Semantic Spatial Parameters (implemented in a separate module).
Core components such as a global RNG, the VSA
trait, and a generic Hypervector
type
are defined here.
Modules§
Structs§
- Hypervector
- A generic hypervector type parameterized over a VSA implementation.
Enums§
- TieBreaker
- Options for tie-breaking during the bundling operation.
Traits§
- VSA
- The
VSA
trait defines the interface for a Vector Symbolic Architecture. New VSA implementations (such as SSP, MBAT, or FHRR) can be added by implementing this trait.
Functions§
- set_
global_ seed - Sets the seed for the global RNG. This affects all hypervector generation and operations that use the global RNG.