xiaoding721
2024-11-11 352a2c435044be016982eec3a1cd3e3f51a71f4c
1
2
3
4
5
6
7
8
9
10
Quintiq file version 2.0
#parent: #root
FunctionOverride CalcNumberOfViolation
{
  TextBody:
  [*
    nrofviolation := guard( this.InvalidAlgorithmRun().SanityCheckAlgorithmRunTotalViolationCount(), 0 );  
    this.NumberOfViolation( nrofviolation );
  *]
}