|
| | LengthPrey (CommentStream &infile, const char *givenname, const IntVector &areas, const TimeClass *const TimeInfo, Keeper *const keeper) |
| | This is the LengthPrey constructor. More...
|
| |
| | ~LengthPrey () |
| | This is the default LengthPrey destructor. More...
|
| |
| virtual void | Sum (const PopInfoVector &NumberInArea, int area) |
| | This will calculate the amount of prey that is consumed for a given area and timestep. More...
|
| |
| | Prey (CommentStream &infile, const IntVector &areas, const char *givenname, const TimeClass *const TimeInfo, Keeper *const keeper) |
| | This is the Prey constructor to create a prey by reading data from a file. More...
|
| |
| | Prey (CommentStream &infile, const char *givenname, const IntVector &areas, const TimeClass *const TimeInfo, Keeper *const keeper) |
| | This is the Prey constructor for a prey with a given length group. More...
|
| |
| virtual | ~Prey ()=0 |
| | This is the default Prey destructor. More...
|
| |
| virtual void | Sum (const AgeBandMatrix &Alkeys, int area) |
| | This will calculate the amount of prey that is consumed for a given area and timestep. More...
|
| |
| virtual void | Reset (const TimeClass *const TimeInfo) |
| | This will reset the consumption information for the current model run. More...
|
| |
| virtual void | Print (ofstream &outfile) const |
| | This function will print the consumption data. More...
|
| |
| virtual void | setCI (const LengthGroupDivision *const GivenLDiv) |
| | This will set the ConversionIndex required for to calculate the consumption. More...
|
| |
| virtual void | Subtract (AgeBandMatrix &Alkeys, int area) |
| | This function will subtract the prey that is consumed from the stock. More...
|
| |
| void | addBiomassConsumption (int area, const DoubleVector &predcons) |
| | This function will add predation (by biomass) to the amount of the prey that is consumed. More...
|
| |
| void | addNumbersConsumption (int area, const DoubleVector &predcons) |
| | This function will add predation (by numbers) to the amount of the prey that is consumed. More...
|
| |
| virtual void | checkConsumption (int area, const TimeClass *const TimeInfo) |
| | This function will check for overconsumption of the prey. More...
|
| |
| double | getBiomass (int area, int length) const |
| | This will return the biomass of prey that is available for consumption by predators. More...
|
| |
| double | getNumber (int area, int length) const |
| | This will return the number of prey that is available for consumption by predators. More...
|
| |
| double | getTotalBiomass (int area) const |
| | This will return the total biomass of prey that is available for consumption. More...
|
| |
| int | isOverConsumption (int area) |
| | This will return the flag that denotes if the prey has been overconsumed on a given area. More...
|
| |
| const DoubleVector & | getRatio (int area) const |
| | This will return the ratio of the prey that has been consumed on a given area. More...
|
| |
| const DoubleVector & | getUseRatio (int area) const |
| | This will return the ratio of the prey that has been consumed on a given area. More...
|
| |
| const DoubleVector & | getConsumption (int area) const |
| | This will return the amount of the prey that has been consumed on a given area. More...
|
| |
| const DoubleVector & | getOverConsumption (int area) const |
| | This will return the amount of the prey that has been overconsumed on a given area. More...
|
| |
| double | getTotalOverConsumption (int area) const |
| | This will return the total amount of the prey that has been overconsumed on a given area. More...
|
| |
| const LengthGroupDivision * | getLengthGroupDiv () const |
| | This will return the length group information for the prey. More...
|
| |
| const PopInfoVector & | getConsumptionPopInfo (int area) const |
| | This will return the amount of prey on a given area prior to any consumption by the predators. More...
|
| |
| double | getEnergy () const |
| | This will return the energy content of the prey. More...
|
| |
| int | isPreyArea (int area) |
| | This will check if there is any prey to consume on a given area. More...
|
| |
| PreyType | getType () const |
| | This will return the type of prey class. More...
|
| |
| | HasName () |
| | This is the default HasName constructor. More...
|
| |
| virtual | ~HasName () |
| | This is the default HasName destructor. More...
|
| |
| | HasName (const char *givenname) |
| | This is the HasName constructor for a specified name. More...
|
| |
| const char * | getName () const |
| | This will return a null terminated text string containing the name of the object. More...
|
| |
| | LivesOnAreas () |
| | This is the default LivesOnAreas constructor. More...
|
| |
| virtual | ~LivesOnAreas () |
| | This is the default LivesOnAreas destructor. More...
|
| |
| | LivesOnAreas (const IntVector &Areas) |
| | This is the LivesOnAreas constructor for a specified vector of areas. More...
|
| |
| int | isInArea (int area) const |
| | This function will check whether the object is defined on a specified area. More...
|
| |
| IntVector & | getAreas () |
| | This function will return the internal areas that the object is defined on. More...
|
| |
| int | areaNum (int area) const |
| | This function will return the area associated with an internal area. More...
|
| |
This is the class used to model a simple length based prey.
- Note
- This class is only used to model non-dynamic prey (ie the prey from OtherFood)