1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Attribute Script 
 |  { 
 |    #keys: '3[139164.5.615791306][139164.5.615791305][139164.5.615791307]' 
 |    Description: 
 |    [* 
 |      The script this RollbackKPI will follow. 
 |      It contains the `RealVectors` it will return. Each time the `GetKPI` method is called a part of the script is returned. 
 |      Each time one of the suboptimizers defined in `LibOpt_Test` calls the `HandleResult` method, the next part will be returned. 
 |       
 |      For example, if: 
 |       - NrOfLevels = 2 
 |       - Script = [1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0] 
 |       
 |      The NrOfLevels is the amount of KPI levels we have. That means the amount of entries in the RealVector we will return every time GetKPI is called. Since our NrOfLevels = 2, we will return 2 values every time. 
 |      If Index = 0, GetKPI will return [1.0, 2.0]. 
 |      If Index = 1, GetKPI will return [3.0, 4.0] 
 |      If Index = 2, GetKPI will return [5.0, 6.0] 
 |      If Index = 3, GetKPI will return [7.0, 8.0] 
 |      If Index > 3, GetKPI will error, as there is no set of 2 reals after [7.0, 8.0]. 
 |       
 |      As mentioned. The Index is updated each time we enter the `HandleResult` method in the suboptimizers defined in `LibOpt_Test`. 
 |    *] 
 |    ValueType: BinaryValue 
 |    InterfaceProperties { Accessibility: 'Module' } 
 |  } 
 |  
  |