1classdef (Sealed) MetricType
2 % An output metric of a Solver, such as a performance index
4 % Copyright (c) 2012-2026, Imperial College London
34 function txt = toText(metricId)
36 case MetricType.ResidT
37 txt =
'Residence Time';
39 txt =
'Response Time';
40 case MetricType.DropRate
43 txt =
'Number of Customers';
44 case MetricType.QueueT
46 case MetricType.FCRWeight
47 txt =
'FCR Total Weight';
48 case MetricType.FCRMemOcc
49 txt =
'FCR Memory Occupation';
50 case MetricType.FJQLen
51 txt =
'Fork Join Number of Customers';
52 case MetricType.FJRespT
53 txt =
'Fork Join Response Time';
54 case MetricType.RespTSink
55 txt =
'Response Time per Sink';
56 case MetricType.SysQLen
57 txt =
'System Number of Customers';
58 case MetricType.SysRespT
59 txt =
'System Response Time';
60 case MetricType.SysTput
61 txt =
'System Throughput';
66 case MetricType.TputSink
67 txt =
'Throughput per Sink';
70 case MetricType.TranQLen
71 txt =
'Tran Number of Customers';
72 case MetricType.TranUtil
73 txt =
'Tran Utilization';
74 case MetricType.TranTput
75 txt =
'Tran Throughput';
76 case MetricType.TranRespT
77 txt =
'Tran Response Time';
80 case MetricType.SysTard
81 txt =
'System Tardiness';
83 txt =
'Unknown Metric';