1 #ifndef numberpredator_h
2 #define numberpredator_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 specified number...
Definition: numberpredator.h:10
virtual void Print(ofstream &outfile) const
This function will print the predator information.
Definition: numberpredator.cc:117
NumberPredator(CommentStream &infile, const char *givenname, const IntVector &Areas, const TimeClass *const TimeInfo, Keeper *const keeper, Formula multscaler)
This is the NumberPredator constructor.
Definition: numberpredator.cc:8
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: numberpredator.cc:20
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: numberpredator.cc:68
virtual ~NumberPredator()
This is the default NumberPredator destructor.
Definition: numberpredator.h:26
This is the class used to store information about the timesteps used for the current model.
Definition: areatime.h:87