|
NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
|
Vector of independently reserved host resources. More...
#include <host_admission.h>
Public Member Functions | |
| bool | fits_within (const HostResourceVector &limit) const noexcept |
| True only when every requested component is at most the corresponding limit. | |
Static Public Member Functions | |
| static HostResourceVector | saturating_add (const HostResourceVector &lhs, const HostResourceVector &rhs) noexcept |
| Saturating addition prevents an impossible request from wrapping into admission. | |
| static HostResourceVector | subtract_clamped (const HostResourceVector &lhs, const HostResourceVector &rhs) noexcept |
| Clamped subtraction is used only to expose an available diagnostic snapshot. | |
Vector of independently reserved host resources.
All quantities are non-negative units.
Definition at line 29 of file host_admission.h.