Gadget
sibyageonstep.h
Go to the documentation of this file.
1 #ifndef sibyageonstep_h
2 #define sibyageonstep_h
3 
4 #include "sionstep.h"
5 
10 class SIByAgeOnStep : public SIOnStep {
11 public:
24  SIByAgeOnStep(CommentStream& infile, const IntMatrix& areas,
25  const IntMatrix& ages, const CharPtrVector& areaindex,
26  const CharPtrVector& ageindex, const TimeClass* const TimeInfo,
27  const char* datafilename, const char* givenname, int bio);
31  virtual ~SIByAgeOnStep();
36  virtual void Sum(const TimeClass* const TimeInfo);
42  virtual void setFleetsAndStocks(FleetPtrVector& Fleets, StockPtrVector& Stocks);
47  virtual void Print(ofstream& outfile) const { aggregator->Print(outfile); };
48 protected:
53 };
54 
55 #endif
This class implements a dynamic vector of char values.
Definition: charptrvector.h:8
This is the class used to strip comments (and whitespace) from any input stream.
Definition: commentstream.h:40
This class implements a dynamic vector of Fleet values.
Definition: fleetptrvector.h:10
This class implements a dynamic vector of IntVector values.
Definition: intmatrix.h:10
This is the class used to calculate a likelihood score by fitting the model population to age based s...
Definition: sibyageonstep.h:10
virtual void setFleetsAndStocks(FleetPtrVector &Fleets, StockPtrVector &Stocks)
This will select the fleets and stocks required to calculate the survey index likelihood score.
Definition: sibyageonstep.cc:22
SIByAgeOnStep(CommentStream &infile, const IntMatrix &areas, const IntMatrix &ages, const CharPtrVector &areaindex, const CharPtrVector &ageindex, const TimeClass *const TimeInfo, const char *datafilename, const char *givenname, int bio)
This is the SIByAgeOnStep constructor.
Definition: sibyageonstep.cc:9
virtual void Sum(const TimeClass *const TimeInfo)
This function will sum the survey index by age data.
Definition: sibyageonstep.cc:71
virtual ~SIByAgeOnStep()
This is the default SIByAgeOnStep destructor.
Definition: sibyageonstep.cc:17
StockAggregator * aggregator
This is the StockAggregator used to collect information about the relevant stocks for the survey inde...
Definition: sibyageonstep.h:47
virtual void Print(ofstream &outfile) const
This function will print the SIByAgeOnStep information.
Definition: sibyageonstep.h:47
This is the base class used to calculate a likelihood score by fitting a regression line to the model...
Definition: sionstep.h:29
This is the class used to aggregate stock information.
Definition: stockaggregator.h:14
void Print(ofstream &outfile) const
This will print the aggregator information to the ofstream specified.
Definition: stockaggregator.cc:34
This class implements a dynamic vector of Stock values.
Definition: stockptrvector.h:10
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87