Gadget
sibyacousticonstep.h
Go to the documentation of this file.
1 #ifndef sibyacousticonstep_h
2 #define sibyacousticonstep_h
3 
4 #include "sionstep.h"
5 
10 class SIByAcousticOnStep : public SIOnStep {
11 public:
23  SIByAcousticOnStep(CommentStream& infile, const IntMatrix& areas,
24  const CharPtrVector& areaindex, const CharPtrVector& fleetindex,
25  const TimeClass* const TimeInfo, const char* datafilename, const char* givenname, int bio);
29  virtual ~SIByAcousticOnStep();
34  virtual void Sum(const TimeClass* const TimeInfo);
40  virtual void setFleetsAndStocks(FleetPtrVector& Fleets, StockPtrVector& Stocks);
45  virtual void Print(ofstream& outfile) const { aggregator->Print(outfile); };
46 protected:
51 };
52 
53 #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 acoustic ba...
Definition: sibyacousticonstep.h:10
virtual void Sum(const TimeClass *const TimeInfo)
This function will sum the survey index by acoustic data.
Definition: sibyacousticonstep.cc:52
virtual ~SIByAcousticOnStep()
This is the default SIByAcousticOnStep destructor.
Definition: sibyacousticonstep.cc:15
virtual void Print(ofstream &outfile) const
This function will print the SIByAcousticOnStep information.
Definition: sibyacousticonstep.h:45
virtual void setFleetsAndStocks(FleetPtrVector &Fleets, StockPtrVector &Stocks)
This will select the fleets and stocks required to calculate the survey index likelihood score.
Definition: sibyacousticonstep.cc:20
StockAggregator * aggregator
This is the StockAggregator used to collect information about the relevant stocks for the survey inde...
Definition: sibyacousticonstep.h:45
SIByAcousticOnStep(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 SIByAcousticOnStep constructor.
Definition: sibyacousticonstep.cc:9
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