Expand description
§hirn-graph — Property graph engine for hirn
This crate provides the in-memory property graph, spreading activation, Hebbian learning, and lateral inhibition algorithms used by the hirn cognitive memory database.
Re-exports§
pub use activation::ActivationConfig;pub use activation::ActivationMode;pub use activation::ActivationResult;pub use activation::ActivationTrace;pub use activation::PprConfig;pub use activation::personalized_pagerank;pub use activation::spread_activation;pub use activation::static_activation;pub use graph::CausalDirection;pub use graph::CausalEdgeData;pub use graph::ConnectBuilder;pub use graph::EdgeId;pub use graph::GraphEdge;pub use graph::GraphNodeData;pub use graph::GraphSnapshot;pub use graph::MAX_EDGE_METADATA_BYTES;pub use graph::MAX_EDGES_PER_NODE;pub use graph::PropertyGraph;pub use graph::edge_metadata_bytes;pub use graph::validate_edge_metadata;pub use hebbian::HebbianBuffer;pub use hebbian::HebbianConfig;pub use hebbian::HebbianUpdateResult;pub use hebbian::hebbian_update;
Modules§
- activation
- Spreading activation engine with lateral inhibition.
- graph
- Property graph store backed by
petgraph. - hebbian
- Hebbian learning: co-retrieval strengthens edge weights, solo retrieval decays them.
Structs§
- Node
Index - Node identifier.