Gadget
sibyeffortonstep.h
Go to the documentation of this file.
1 #ifndef sibyeffortonstep_h
2 #define sibyeffortonstep_h
3 
4 #include "sionstep.h"
6 
11 class SIByEffortOnStep : public SIOnStep {
12 public:
24  SIByEffortOnStep(CommentStream& infile, const IntMatrix& areas,
25  const CharPtrVector& areaindex, const CharPtrVector& fleetindex,
26  const TimeClass* const TimeInfo, const char* datafilename, const char* givenname, int bio);
30  virtual ~SIByEffortOnStep();
35  virtual void Sum(const TimeClass* const TimeInfo);
41  virtual void setFleetsAndStocks(FleetPtrVector& Fleets, StockPtrVector& Stocks);
46  virtual void Print(ofstream& outfile) const { aggregator->Print(outfile); };
47 protected:
56 };
57 
58 #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 DoubleVector values.
Definition: doublematrix.h:11
This is the class used to aggregate fleet catch information.
Definition: fleeteffortaggregator.h:16
void Print(ofstream &outfile) const
This will print the aggregator information to the ofstream specified.
Definition: fleeteffortaggregator.cc:37
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 effort base...
Definition: sibyeffortonstep.h:11
virtual ~SIByEffortOnStep()
This is the default SIByEffortOnStep destructor.
Definition: sibyeffortonstep.cc:14
FleetEffortAggregator * aggregator
This is the FleetEffortAggregator used to collect information about the relevant fleets for the surve...
Definition: sibyeffortonstep.h:46
virtual void Sum(const TimeClass *const TimeInfo)
This function will sum the survey index by fleet length data.
Definition: sibyeffortonstep.cc:27
virtual void setFleetsAndStocks(FleetPtrVector &Fleets, StockPtrVector &Stocks)
This will select the fleets and stocks required to calculate the survey index likelihood score.
Definition: sibyeffortonstep.cc:19
const DoubleMatrix * dptr
This is the DoubleMatrix used to temporarily store the information returned from the aggregatation fu...
Definition: sibyeffortonstep.h:55
SIByEffortOnStep(CommentStream &infile, const IntMatrix &areas, const CharPtrVector &areaindex, const CharPtrVector &fleetindex, const TimeClass *const TimeInfo, const char *datafilename, const char *givenname, int bio)
This is the SIByEffortOnStep constructor.
Definition: sibyeffortonstep.cc:8
virtual void Print(ofstream &outfile) const
This function will print the SIByEffortOnStep information.
Definition: sibyeffortonstep.h:46
This is the base class used to calculate a likelihood score by fitting a regression line to the model...
Definition: sionstep.h:29
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