MovableResourceAllocationRule

open class MovableResourceAllocationRule(var comparator: <Error class: unknown class><in MovableResource>) : MovableResourceAllocationRuleIfc

This rule will sort the list according to the comparator and then allocate the first element

Inheritors

Constructors

Link copied to clipboard
constructor(comparator: <Error class: unknown class><in MovableResource>)

Properties

Link copied to clipboard
var comparator: <Error class: unknown class><in MovableResource>

Functions

Link copied to clipboard

The method assumes that the provided list of resources has enough units available to satisfy the needs of the request.