1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  | Quintiq file version 2.0 
 |  #parent: #root 
 |  Method GetWeightFactor (const LibOpt_Task task) as Real 
 |  { 
 |    Description: 
 |    [* 
 |      The method return the new weight to assign to the link. 
 |      Available as argument is the task currently processes by the Operation call on LibOpt_SwitchProbability 
 |    *] 
 |    IsAbstract: true 
 |    TextBody: 
 |    [* 
 |      // We expect this method to be overridden. 
 |       
 |      return 1.0; 
 |    *] 
 |  } 
 |  
  |