1classdef (Sealed) DropStrategy
2 % Enumeration of drop policies in stations.
4 % Copyright (c) 2012-2026, Imperial College London
9 Queue = -1; % Alias
for WAITQ (waiting queue): job waits when region
is full
14 RETRIAL = 5; % Job moves to orbit and retries after delay (unlimited attempts)
15 RETRIAL_WITH_LIMIT = 6; % Job retries up to max attempts, then drops
19 function text = toText(type)
22 case DropStrategy.WAITQ
23 text =
'waiting queue';
24 case DropStrategy.DROP
27 text =
'BAS blocking';
29 text =
'BBS blocking';
30 case DropStrategy.RSRD
31 text =
'RSRD blocking';
32 case DropStrategy.RETRIAL
34 case DropStrategy.RETRIAL_WITH_LIMIT
35 text =
'retrial with limit';
37 line_error(mfilename,
'Unrecognized drop strategy type.');