Gadget
preyoveraggregator.h
Go to the documentation of this file.
1 #ifndef preyoveraggregator_h
2 #define preyoveraggregator_h
3 
4 #include "agebandmatrix.h"
5 #include "intmatrix.h"
6 #include "preyptrvector.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 of preys.
Definition: preyoveraggregator.h:12
DoubleMatrix total
This is the DoubleMatrix of the overconsumption that has taken place.
Definition: preyoveraggregator.h:55
void Sum()
This will aggregate the prey overconsumption that has taken place.
Definition: preyoveraggregator.cc:26
const DoubleMatrix & getSum() const
This will return the calculated overconsumption.
Definition: preyoveraggregator.h:38
~PreyOverAggregator()
This is the default PreyOverAggregator destructor.
Definition: preyoveraggregator.h:25
PreyPtrVector preys
This is the PreyPtrVector of preys that will be aggregated.
Definition: preyoveraggregator.h:38
void Reset()
This will reset the prey overconsumption information.
Definition: preyoveraggregator.cc:22
IntMatrix areas
This will aggregate the predator overconsumption that has taken place.
Definition: preyoveraggregator.h:51
PreyOverAggregator(const PreyPtrVector &preys, const IntMatrix &Areas, const LengthGroupDivision *const LgrpDiv)
This is the PreyOverAggregator constructor.
Definition: preyoveraggregator.cc:7
IntMatrix preyConv
This is the IntMatrix of length groups of the preys.
Definition: preyoveraggregator.h:47
This class implements a dynamic vector of Prey values.
Definition: preyptrvector.h:10