Quintiq file version 2.0
|
#parent: #root
|
Function CalcBenchmarkForModelKPI
|
{
|
TextBody:
|
[*
|
value := '';
|
|
if( this.AlgorithmRun().HasTestInstanceInKT() )
|
{
|
iswildcard_o := false;
|
weightedkpiinkt := this.GetModelKPIFromKT( iswildcard_o );
|
this.ModelKPIKT( weightedkpiinkt );
|
|
if( iswildcard_o or this.GetHasResultWithinAcceptableRange( weightedkpiinkt, true ) )
|
{
|
value := Translations::LibOBT_Benchmarker_RunResultMatched();
|
}
|
else if( this.WeightedModelKPI() > weightedkpiinkt )
|
{
|
value := Translations::LibOBT_Benchmarker_RunResultImproved();
|
}
|
else
|
{
|
value := Translations::LibOBT_Benchmarker_RunResultWorse();
|
}
|
}
|
|
this.BenchmarkForModelKPI( value );
|
*]
|
InterfaceProperties { Accessibility: 'Module' }
|
}
|