SlotFlow API Documentation

AvailableQuantitySortPolicy
in package
implements EdgeOrderingPolicyInterface

Sorts edges in descending order of available quantity at the source slot.

Edges with a nil source are ranked lowest, treating creation-like sources as a fallback behind concrete quantity whenever they appear in the same list.

Table of Contents

Interfaces

EdgeOrderingPolicyInterface
Reorders candidate edges for one cascade step.

Methods

orderEdges()  : array<int, MovementEdge>
Return the candidate edges in preferred execution order.
available()  : int|float

Methods


        
On this page

Search results