DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
nationdata.h
Go to the documentation of this file.
1 /* --------------------------------------------------------------------------
2  * DISPLACE: DYNAMIC INDIVIDUAL VESSEL-BASED SPATIAL PLANNING
3  * AND EFFORT DISPLACEMENT
4  * Copyright (c) 2012, 2013, 2014 Francois Bastardie <fba@aqua.dtu.dk>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License along
17  * with this program; if not, write to the Free Software Foundation, Inc.,
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19  * --------------------------------------------------------------------------
20  */
21 #ifndef NATIONALITYDATA_H
22 #define NATIONALITYDATA_H
23 
24 #include <QString>
25 #include <QVector>
26 
28 {
29  QString mName;
30 public:
31  NationData();
32  explicit NationData(QString n) : mName(n) {}
33 
34  QString getName() const;
35  void setName(const QString &value);
36 };
37 
38 class NationStats {
39 public:
41  : szGroups()
42  {
43  }
44 
45  int numTrips = 0;
46  double mTotCatches = 0.0;
47  double mTotDiscards = 0.0;
48  double mRevenues = 0.0;
49  double mExRevenues = 0.0;
50  double mTimeAtSea = 0.0;
51  double mGav = 0.0;
52  double mVpuf = 0.0;
53  double mSweptArea = 0.0;
54  double mRevenuePerSweptArea = 0.0;
55  double cumVpuf=0.0;
57 
58  double GVA=0.0;
59  double cumGVAPerRevenue = 0.0;
60  double GVAPerRevenue = 0.0;
61  double LabourSurplus = 0.0;
62  double GrossProfit = 0.0;
63  double NetProfit = 0.0;
64  double NetProfitMargin = 0.0;
65  double RoFTA = 0.0;
66  double GVAPerFTE = 0.0;
67  double BER = 0.0;
68  double CRBER = 0.0;
69  double NetPresentValue = 0.0;
70 
71  double cumNetProfitMargin= 0.0;
72  double cumGVAPerFTE= 0.0;
73  double cumRoFTA= 0.0;
74  double cumBER= 0.0;
75  double cumCRBER= 0.0;
76 
77 
78  QVector<double> szGroups;
79 };
80 
81 #endif // NATIONALITYDATA_H
double CRBER
Definition: nationdata.h:68
double cumGVAPerRevenue
Definition: nationdata.h:59
Definition: nationdata.h:27
double cumRevenuePerSweptArea
Definition: nationdata.h:56
NationData()
Definition: nationdata.cpp:23
double cumGVAPerFTE
Definition: nationdata.h:72
double cumVpuf
Definition: nationdata.h:55
double GVAPerFTE
Definition: nationdata.h:66
double mVpuf
Definition: nationdata.h:52
NationData(QString n)
Definition: nationdata.h:32
double mGav
Definition: nationdata.h:51
double RoFTA
Definition: nationdata.h:65
void setName(const QString &value)
Definition: nationdata.cpp:32
double mExRevenues
Definition: nationdata.h:49
double mTotDiscards
Definition: nationdata.h:47
double cumCRBER
Definition: nationdata.h:75
Definition: nationdata.h:38
double cumBER
Definition: nationdata.h:74
double NetPresentValue
Definition: nationdata.h:69
double mRevenuePerSweptArea
Definition: nationdata.h:54
double cumRoFTA
Definition: nationdata.h:73
std::pair< box, unsigned > value
Definition: diffusion.cpp:30
double GVA
Definition: nationdata.h:58
double BER
Definition: nationdata.h:67
double mRevenues
Definition: nationdata.h:48
NationStats()
Definition: nationdata.h:40
double GrossProfit
Definition: nationdata.h:62
int numTrips
Definition: nationdata.h:45
double cumNetProfitMargin
Definition: nationdata.h:71
double mTotCatches
Definition: nationdata.h:46
QString getName() const
Definition: nationdata.cpp:27
QVector< double > szGroups
Definition: nationdata.h:78
double mTimeAtSea
Definition: nationdata.h:50
double NetProfit
Definition: nationdata.h:63
double LabourSurplus
Definition: nationdata.h:61
double GVAPerRevenue
Definition: nationdata.h:60
double mSweptArea
Definition: nationdata.h:53
double NetProfitMargin
Definition: nationdata.h:64