1 #ifndef linearpredator_h
2 #define linearpredator_h
44 virtual void Print(ofstream& outfile)
const;
This is the class used to store information about the areas used for the current model.
Definition: areatime.h:18
This class implements a dynamic vector of int values.
Definition: intvector.h:11
This is the class used to store information about the variables that are used in model simulation.
Definition: keeper.h:17
This is the class used to model the predation of stocks by a fleet.
Definition: lengthpredator.h:10
This is the class used to model the predation of stocks by a fleet that will catch a proportion of th...
Definition: linearpredator.h:10
LinearPredator(CommentStream &infile, const char *givenname, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper, Formula multscaler)
This is the LinearPredator constructor.
Definition: linearpredator.cc:9
virtual void Eat(int area, const AreaClass *const Area, const TimeClass *const TimeInfo)
This will calculate the amount the predator consumes on a given area.
Definition: linearpredator.cc:21
virtual ~LinearPredator()
This is the default LinearPredator destructor.
Definition: linearpredator.h:26
virtual void Print(ofstream &outfile) const
This function will print the predator information.
Definition: linearpredator.cc:92
virtual void adjustConsumption(int area, const TimeClass *const TimeInfo)
This will adjust the amount the predator consumes on a given area, to take oversconsumption into cons...
Definition: linearpredator.cc:53
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87