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 34 35 36
|
#include "loop.h"
#include "../xerr/xerr.ih"
#include <cmath>
#include <algorithm>
#include <fstream>
#include <bobcat/exception>
#include <bobcat/csvtable>
#include <bobcat/datetime>
#include "../random/random.h"
#include "../options/options.h"
#include "../modbase/modbase.h"
#include "../log/log.h"
extern size_t g_caseIdx;
extern size_t g_err;
namespace Icmake
{
extern char version[];
}
inline double Loop::treatmentCosts(double screeningAge) const
{
// diameter unused with lung cancer
// otherwise metastasis unused
return d_costs.treatment(screeningAge,
d_tumor.diameter(), d_tumor.metastasis());
}
#ifndef SPCH_
using namespace std;
using namespace FBB;
#endif
|