Template Function sequant::eval::build_value_key_node_map¶
Defined in File value_node_map.hpp
Function Documentation¶
-
template<meta::eval_node_range R>
ValueNodeMap<std::ranges::range_value_t<R>> sequant::eval::build_value_key_node_map(R const &forest)¶ Like
build_value_node_mapbut keyed by value id (value_key_of:node id + home-sliced positions), one representative node per value — the map the ordered executor resolves avalue_idthrough, so a value is always built from one of its own occurrences’ nodes (a node of the same hash home-sliced on other positions is another value).- Returns:
A
ValueNodeMappointing intoforest— see its warning; the result must not outliveforest.