asset#
Module for the Asset class.
It represents a node resource or a service requirement, such as CPU, GPU, RAM or node availability.
It provides the inteface for the basic algebraic functions between assets:
aggregate: aggregate the assets into a single asset.
satisfies: check if the asset satisfies a constraint based on the total ordering of the asset.
is_consistent: check if the asset has a feasible value, i.e. it is within the bounds.
Classes
The Asset class. |