Template Function sequant::min_storage

Function Documentation

template<typename NodeT, typename = std::enable_if_t<IsEvalNode<NodeT>>>
AsyCost sequant::min_storage(NodeT const &node)

This function object takes an evaluation node and returns the minimum storage required for evaluating the node as an AsyCost object. The minimum storage is the largest amount of storage required for evaluating the node and its children.

Returns:

The minimum storage required for evaluating the given node.