Gadget
predatoroveraggregator.h
Go to the documentation of this file.
1 #ifndef predatoroveraggregator_h
2 #define predatoroveraggregator_h
3 
4 #include "agebandmatrix.h"
5 #include "intmatrix.h"
6 #include "predatorptrvector.h"
7 
13 public:
21  const IntMatrix& Areas, const LengthGroupDivision* const LgrpDiv);
29  void Reset();
33  void Sum();
38  const DoubleMatrix& getSum() const { return total; };
39 protected:
56 };
57 
58 #endif
This class implements a dynamic vector of DoubleVector values.
Definition: doublematrix.h:11
This class implements a dynamic vector of IntVector values.
Definition: intmatrix.h:10
This is the class used to store information about the length groups of the modelled stock population.
Definition: lengthgroup.h:10
This is the class used to aggregate the calculated overconsumption by predators.
Definition: predatoroveraggregator.h:12
~PredatorOverAggregator()
This is the default PredatorOverAggregator destructor.
Definition: predatoroveraggregator.h:25
void Sum()
This will aggregate the predator overconsumption that has taken place.
Definition: predatoroveraggregator.cc:26
IntMatrix predConv
This is the IntMatrix of length groups of the predators.
Definition: predatoroveraggregator.h:47
const DoubleMatrix & getSum() const
This will return the calculated overconsumption.
Definition: predatoroveraggregator.h:38
IntMatrix areas
This is the IntMatrix used to store area information.
Definition: predatoroveraggregator.h:51
PredatorPtrVector predators
This is the PredatorPtrVector of predators that will be aggregated.
Definition: predatoroveraggregator.h:38
DoubleMatrix total
This is the DoubleMatrix of the overconsumption that has taken place.
Definition: predatoroveraggregator.h:55
void Reset()
This will reset the predator overconsumption information.
Definition: predatoroveraggregator.cc:22
PredatorOverAggregator(const PredatorPtrVector &predators, const IntMatrix &Areas, const LengthGroupDivision *const LgrpDiv)
This is the PredatorOverAggregator constructor.
Definition: predatoroveraggregator.cc:7
This class implements a dynamic vector of Predator values.
Definition: predatorptrvector.h:10