1classdef (Sealed) MetricType
2 % An output metric of a Solver, such as a performance index
4 % Copyright (c) 2012-2026, Imperial College London
36 function txt = toText(metricId)
38 case MetricType.ResidT
39 txt =
'Residence Time';
41 txt =
'Response Time';
42 case MetricType.DropRate
45 txt =
'Number of Customers';
46 case MetricType.QueueT
48 case MetricType.FCRWeight
49 txt =
'FCR Total Weight';
50 case MetricType.FCRMemOcc
51 txt =
'FCR Memory Occupation';
52 case MetricType.FJQLen
53 txt =
'Fork Join Number of Customers';
54 case MetricType.FJRespT
55 txt =
'Fork Join Response Time';
56 case MetricType.RespTSink
57 txt =
'Response Time per Sink';
58 case MetricType.SysDropR
59 txt =
'System Drop Rate';
60 case MetricType.SysQLen
61 txt =
'System Number of Customers';
62 case MetricType.SysPower
64 case MetricType.SysRespT
65 txt =
'System Response Time';
66 case MetricType.SysTput
67 txt =
'System Throughput';
72 case MetricType.TputSink
73 txt =
'Throughput per Sink';
76 case MetricType.TranQLen
77 txt =
'Tran Number of Customers';
78 case MetricType.TranUtil
79 txt =
'Tran Utilization';
80 case MetricType.TranTput
81 txt =
'Tran Throughput';
82 case MetricType.TranRespT
83 txt =
'Tran Response Time';
86 case MetricType.SysTrdn
87 txt =
'System Tardiness';
89 txt =
'Unknown Metric';