1 #ifndef predatoraggregator_h
2 #define predatoraggregator_h
47 void Print(ofstream &outfile)
const;
This class implements a vector of PopInfoIndexVector values, indexed from minage not 0.
Definition: agebandmatrix.h:15
This class implements a dynamic vector of DoubleMatrix values.
Definition: doublematrixptrvector.h:10
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 predation information.
Definition: predatoraggregator.h:15
PredatorPtrVector predators
This is the PredatorPtrVector of the predators that will be aggregated.
Definition: predatoraggregator.h:64
void Reset()
This function will reset the predation data.
Definition: predatoraggregator.cc:101
IntMatrix doeseat
This is the IntMatrix used to store predation information.
Definition: predatoraggregator.h:92
const DoubleMatrixPtrVector & getSum() const
This will return the DoubleMatrixPtrVector containing the aggregated predation information.
Definition: predatoraggregator.h:64
IntMatrix preyConv
This is the IntMatrix used to convert length group information for preys.
Definition: predatoraggregator.h:83
IntMatrix areas
This is the IntMatrix used to store area information.
Definition: predatoraggregator.h:87
const AgeBandMatrix * alk
This is the AgeBandMatrix used to temporarily store information when aggregating the predation.
Definition: predatoraggregator.h:104
PredatorAggregator(const PredatorPtrVector &predators, const PreyPtrVector &preys, const IntMatrix &Areas, const LengthGroupDivision *const predLgrpDiv, const LengthGroupDivision *const preyLgrpDiv)
This is the PredatorAggregator constructor for length based predators.
Definition: predatoraggregator.cc:11
~PredatorAggregator()
This is the default PredatorAggregator destructor.
Definition: predatoraggregator.cc:81
const DoubleMatrix * dptr
This is the DoubleMatrix used to temporarily store information when aggregating the predation.
Definition: predatoraggregator.h:100
int usepredages
This is the flag used to denote whether the predators are specified using age groups or length groups...
Definition: predatoraggregator.h:108
DoubleMatrixPtrVector total
This is the DoubleMatrixPtrVector used to store the aggregated predation information.
Definition: predatoraggregator.h:96
void NumberSum()
This function will aggregate the predation number data.
Definition: predatoraggregator.cc:176
void Sum()
This function will aggregate the predation biomass data.
Definition: predatoraggregator.cc:107
void Print(ofstream &outfile) const
This will print the aggregator information to the ofstream specified.
Definition: predatoraggregator.cc:87
IntMatrix predConv
This is the IntMatrix used to convert length group information for predators.
Definition: predatoraggregator.h:78
PreyPtrVector preys
This is the PreyPtrVector of the preys that will be aggregated.
Definition: predatoraggregator.h:73
This class implements a dynamic vector of Predator values.
Definition: predatorptrvector.h:10
This class implements a dynamic vector of Prey values.
Definition: preyptrvector.h:10