Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Annotation of /trunk/gadget/sibylengthonstep.h
[mareframe] / trunk / gadget / sibylengthonstep.h Repository:
ViewVC logotype

Annotation of /trunk/gadget/sibylengthonstep.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : agomez 1 #ifndef sibylengthonstep_h
2 :     #define sibylengthonstep_h
3 :    
4 :     #include "sionstep.h"
5 :    
6 :     /**
7 :     * \class SIByLengthOnStep
8 :     * \brief This is the class used to calculate a likelihood score by fitting the model population to length based survey index data
9 :     */
10 :     class SIByLengthOnStep : public SIOnStep {
11 :     public:
12 :     /**
13 :     * \brief This is the SIByLengthOnStep constructor
14 :     * \param infile is the CommentStream to read the survey index data from
15 :     * \param areas is the IntMatrix of areas that the survey index can take place on
16 :     * \param lengths is the DoubleVector of lengths from the survey index data
17 :     * \param areaindex is the CharPtrVector of area identifier text strings
18 :     * \param lenindex is the CharPtrVector of length identifier text strings
19 :     * \param TimeInfo is the TimeClass for the current model
20 :     * \param datafilename is the name of the file containing the survey index data
21 :     * \param givenname is the name of the SIByLengthOnStep likelihood component
22 :     * \param bio is the flag to denote whether the index should be based on the biomass or not
23 :     */
24 :     SIByLengthOnStep(CommentStream& infile, const IntMatrix& areas,
25 :     const DoubleVector& lengths, const CharPtrVector& areaindex,
26 :     const CharPtrVector& lenindex, const TimeClass* const TimeInfo,
27 :     const char* datafilename, const char* givenname, int bio);
28 :     /**
29 :     * \brief This is the default SIByLengthOnStep destructor
30 :     */
31 :     virtual ~SIByLengthOnStep();
32 :     /**
33 :     * \brief This function will sum the survey index by length data
34 :     * \param TimeInfo is the TimeClass for the current model
35 :     */
36 :     virtual void Sum(const TimeClass* const TimeInfo);
37 :     /**
38 :     * \brief This will select the fleets and stocks required to calculate the survey index likelihood score
39 :     * \param Fleets is the FleetPtrVector of all the available fleets
40 :     * \param Stocks is the StockPtrVector of all the available stocks
41 :     */
42 :     virtual void setFleetsAndStocks(FleetPtrVector& Fleets, StockPtrVector& Stocks);
43 :     /**
44 :     * \brief This function will print the SIByLengthOnStep information
45 :     * \param outfile is the ofstream that all the model information gets sent to
46 :     */
47 :     virtual void Print(ofstream& outfile) const { aggregator->Print(outfile); };
48 :     protected:
49 :     /**
50 :     * \brief This is the StockAggregator used to collect information about the relevant stocks for the survey index data
51 :     */
52 :     StockAggregator* aggregator;
53 :     };
54 :    
55 :     #endif

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge