1 #ifndef migrationpenalty_h
2 #define migrationpenalty_h
52 virtual void Print(ofstream& outfile)
const;
This class implements a dynamic vector of double values.
Definition: doublevector.h:11
This class implements a dynamic vector of Fleet values.
Definition: fleetptrvector.h:10
This is the class used to store information about the variables that are used in model simulation.
Definition: keeper.h:17
This is the base class used to calculate the likelihood scores used to compare the modelled data in t...
Definition: likelihood.h:24
double weight
This stores the weight to be applied to the likelihood component.
Definition: likelihood.h:112
This is the class used to calculate the likelihood scores based on population errors arising from inc...
Definition: migrationpenalty.h:13
void setFleetsAndStocks(FleetPtrVector &Fleets, StockPtrVector &Stocks)
This will select the fleets and stocks required to calculate the MigrationPenalty likelihood score.
Definition: migrationpenalty.cc:47
MigrationPenalty(CommentStream &infile, double weight, const char *name)
This is the default MigrationPenalty constructor.
Definition: migrationpenalty.cc:7
virtual void Reset(const Keeper *const keeper)
This function will reset the MigrationPenalty likelihood information.
Definition: migrationpenalty.cc:66
virtual ~MigrationPenalty()
This is the default MigrationPenalty destructor.
Definition: migrationpenalty.cc:62
virtual void addLikelihood(const TimeClass *const TimeInfo)
This function will calculate the likelihood score for the current model.
Definition: migrationpenalty.cc:27
virtual void Print(ofstream &outfile) const
This function will print the summary MigrationPenalty likelihood information.
Definition: migrationpenalty.cc:82
virtual void printSummary(ofstream &outfile)
This function will print summary information from the MigrationPenalty likelihood calculation.
Definition: migrationpenalty.cc:72
This class implements a dynamic vector of Stock values.
Definition: stockptrvector.h:10
This is the class used to model a stock within the Gadget model.
Definition: stock.h:33
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87