File: maybefalsenegative.cc

package info (click to toggle)
simrisc 16.05.00-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,568 kB
  • sloc: cpp: 6,877; fortran: 665; makefile: 112; ansic: 112; sh: 107
file content (33 lines) | stat: -rw-r--r-- 891 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#define XERR
#include "loop.ih"

extern size_t g_caseIdx;

    // tumor does exist, but the screening may be negative: false negative
    //                   otherwise: true positive

        // by screen.cc

void Loop::maybeFalseNegative(ModBase *modBase, double screeningAge)
{
    d_tumor.characteristicsAt(screeningAge);

    if (falseNegative(modBase))
        // ++d_nRoundFN[d_round];
        modBase->addFalseNegative(d_round);
    else
    {
        tumorDetected(modBase, screeningAge);
        // ++d_nRoundTP[d_round];
        modBase->addTruePositive(d_round);
    }
}


// see also: Marcel: Tue, 9 Jun 2020 13:01:00 +0000
//           Marcel: Thu, 11 Jun 2020 10:35:44 +0000 (MRI, Mammo, Tomo are
//                   all used

// the check for tumor.diameter() >= 1 is omitted, since
// all tumors have at least 1 mm diameter
// (see Marcel: Tue, 30 Jun 2020 10:46:05 +0000)