1 #ifndef US_PCSA_MODEL_RECORD_H
3 #define US_PCSA_MODEL_RECORD_H
13 #define DbgLv(a) if(dbg_level>=a)qDebug()
78 void clear_data(
void );
90 static int compute_slines(
double&,
double&,
double&,
double&,
int&,
91 int&,
double*, QVector< US_ModelRecord >& );
104 static int compute_sigmoids(
int&,
double&,
double&,
double&,
double&,
105 int&,
int&,
double*, QVector< US_ModelRecord >& );
117 static int compute_hlines(
double&,
double&,
double&,
double&,
int&,
118 int&,
double*, QVector< US_ModelRecord >& );
130 static int compute_2ndorder(
double&,
double&,
double&,
double&,
int&,
131 int&,
double*, QVector< US_ModelRecord >& );
144 static int load_modelrecs ( QXmlStreamReader& xml,
145 QVector< US_ModelRecord >&, QString&,
146 int&,
double&,
double&,
double&,
double&,
160 static int write_modelrecs( QXmlStreamWriter& xml,
161 QVector< US_ModelRecord >&, QString&,
162 int&,
double&,
double&,
double&,
double&,
176 static void elite_limits( QVector< US_ModelRecord >&,
int&,
177 double&,
double&,
double&,
double&,
178 double&,
double&,
double&,
double& );
191 static int recompute_mrecs(
int&,
double&,
double&,
double&,
double&,
193 QVector< US_ModelRecord >& );
199 static int ctype_flag(
const QString );
205 static QString ctype_text(
const int );
211 static int stype_flag(
const QString );
217 static QString stype_text(
const int );