class
SushiAI::Graph::IPrecisionPolicy
Interface selecting execution element types per operation.
- Declared in
include/SushiAI/graph/precision.hpp
Implementations must be idempotent and reproducible.
Public member functions
virtual ~IPrecisionPolicy()=defaultvirtual PrecisionChoice choose(const PrecisionQuery &query) const =0Chooses the element type query's operation computes in.
Parameters
queryThe operation and its declared precision.
Returns
The element type and the reason for it.
virtual std::string_view name() const noexcept=0Returns a short identifier for reporting and diagnostics.
Returns
Static string identifying the policy name.

