Constructs a new resource set by subtracting the provided resource set from this one.
Constructs a new resource set by subtracting the provided resource set from this one.
Constructs a new resource set by subtracting the provided resource set from this one.
Returns a dagr.core.execsystem.ResourceSet with the remaining resources after subtracting other
if doing so would not generate negative resources.
Returns a dagr.core.execsystem.ResourceSet with the remaining resources after subtracting other
if doing so would not generate negative resources. Otherwise returns None
.
Constructs a subset of this resource set with a fixed amount of memory and a variable number of cores.
Constructs a subset of this resource set with a fixed amount of memory and a variable number of cores. Will greedily assign the highest number of cores possible.
Constructs a resource set with the provided cores and memory, providing that the cores and memory are a subset of those in the current resource set.
Constructs a resource set with the provided cores and memory, providing that the cores and memory are a subset of those in the current resource set. If the value do not represent a subset, None is returned.
Constructs a resource set with the provided cores and memory, providing that the cores and memory are a subset of those in the current resource set.
Constructs a resource set with the provided cores and memory, providing that the cores and memory are a subset of those in the current resource set. If the value do not represent a subset, None is returned.
(resourceSet: any2stringadd[ResourceSet]).+(other)
Holds information about a set of resources