chenqinghong
2024-05-07 3ec06a830367465068963156dcc1d8e522571c13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Quintiq file version 2.0
#parent: #root
Method GetRunsForCleanup (Number expected_new_runs) as owning LibOpt_Runs
{
  Description: 'Get the runs that need cleanup'
  TextBody:
  [*
    result := construct( LibOpt_Runs );
    traverse( this, Optimizer, optimizer )
    {
      result := result.Union( optimizer.GetRunsForCleanup( expected_new_runs ) );
    }
    
    return & result;
  *]
}