QttyConstraintPolicyInterface
in
Caps how much quantity may move through one candidate edge.
Table of Contents
Methods
- constraint() : int|float
- Return the maximum movable quantity for the given edge in context.
Methods
constraint()
Return the maximum movable quantity for the given edge in context.
public
constraint(MovementEdge $edge, FlowContext $ctx) : int|float
Parameters
- $edge : MovementEdge
- $ctx : FlowContext