|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
Per-node result cache (opt-in). More...
#include <neograph/api.h>#include <neograph/graph/types.h>#include <cstddef>#include <mutex>#include <optional>#include <set>#include <string>#include <unordered_map>Go to the source code of this file.
Classes | |
| class | neograph::graph::NodeCache |
| Per-node result cache. More... | |
Functions | |
| NEOGRAPH_API std::string | neograph::graph::hash_state_for_cache (const json &state_value) |
| Stable hash over the JSON state used as the cache-key suffix. | |
Per-node result cache (opt-in).
Definition in file node_cache.h.
| NEOGRAPH_API std::string neograph::graph::hash_state_for_cache | ( | const json & | state_value | ) |
Stable hash over the JSON state used as the cache-key suffix.
Concrete impl is FNV-1a over the canonical (sorted-key) dump — fine for in-process caches where collision risk is negligible.
References neograph::graph::hash_state_for_cache().
Referenced by neograph::graph::hash_state_for_cache().