This is an old revision of the document!


The consistency checks QC1-2 and QC1-6 is run on perl algorithms. Most of these are written to fit a specific situation. There is also a number of generic algorithms that are used as such in several different checks. The generic algorithms are the following:

name parameters implementation
return of flag value=3 when
example use
eq_between.plobs;X,Y;;|meta;X_C,Y_LO,Y_HI;;$X[0] == $X_C[0]) && ($Y[0] ≥ $Y_LO[0]) && ($Y[0] ≤ $Y_HI[0]QC1-2-137
QC1-6-328
eq_uneq.plobs;X,Y;;|meta;X_CX,Y_CY;;$X[0] == $X_CX[0]) && ($Y[0] != $Y_CY[0]QC1-2-42
QC1-6-278
gt_between.plobs;X1,X2;;|meta;R1,R2,R3;;$X1[0] > $R1[0] && ($X2[0] ≥ $R2[0] && $X2[0] ≤ $R3[0])QC1-6-251
QC1-6-258
gt_eq.plobs;X,Y;;|meta;X_CX,Y_CY;;$X[0] > $X_CX[0] && $Y[0] == $Y_CY[0]QC1-2-23
QC1-6-176
gt_exist.plobs;X1,X2;;|meta;LIM;;$X1[0] > $LIM[0] && $X2_missing[0]==0QC1-6-259
QC1-6-266
gt.plobs;X,Y;;|meta;X_C;;$X[0] + $X_C[0] > $Y[0]QC1-2-32
QC1-6-213
lt_eq.plobs;X,Y;;|meta;X_CX,Y_CY;;$X[0] < $X_CX[0] && $Y[0] == $Y_CY[0]QC1-2-175
QC1-6-305
max_gt.plobs;X1,X2;;|meta;R1;;@X2 = sort{$b ⇔ $a} @X2;
$X1[0] < $X2[0] + $R1[0]
QC1-2-34
QC1-2-45
max_lt.plobs;X1,X2;;|meta;R1;;@X2 = sort{$b ⇔ $a} @X2;
$X1[0] > $X2[0] + $R1[0]
QC1-6-216
QC1-6-271
min_gt.plobs;X1,X2;;|meta;R1;;the array X2less is X2 excluded missing values;
@X2less = sort{$a ⇔ $b} @X2less;
$X1[0] < $X2less[0] + $R1[0]
QC1-6-211
QC1-6-212
min_lt.plobs;X1,X2;;|meta;R1;;the array X2less is X2 excluded missing value;
@X2less = sort{$a ⇔ $b} @X2less;
$X1[0] > $X2less[0] + $R1[0]
QC1-2-35
notbetween_between.plobs;X,Y;;|meta;X_C1,X_C2,Y_C1,Y_C2;;($X[0] < $X_C1[0] || $X[0] > $X_C2[0]) && ($Y[0] ≥ $Y_C1[0] && $Y[0] ≤ $Y_C2[0])QC1-6-281
QC1-6-295
between_between.plobs;X,Y;;|meta;X_C1,X_C2,Y_C1,Y_C2;;$X[0] ≥ $X_C1[0] && $X[0] ≤ $X_C2[0] && $Y[0] ≥ $Y_C1[0] && $Y[0] ≤ $Y_C2[0]QC1-6-296
QC1-6-313

Gabriel Kielland 2010/10/14 15:55

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • kvalobs/kvalobs/generisk.1287072433.txt.gz
  • Last modified: 2022-05-31 09:23:18
  • (external edit)