Gadget
|
This is the class used to aggregate fleet catch information. More...
#include <fleeteffortaggregator.h>
Public Member Functions | |
FleetEffortAggregator (const FleetPtrVector &Fleets, const StockPtrVector &Stocks, const IntMatrix &Areas) | |
This is the FleetEffortAggregator constructor. More... | |
~FleetEffortAggregator () | |
This is the default FleetEffortAggregator destructor. More... | |
void | Reset () |
This function will reset the fleet catch information. More... | |
void | Sum () |
This function will aggregate the fleet catch data. More... | |
void | Print (ofstream &outfile) const |
This will print the aggregator information to the ofstream specified. More... | |
const DoubleMatrixPtrVector & | getSum () const |
This will return the DoubleMatrixPtrVector containing the aggregated catch information. More... | |
This is the class used to aggregate fleet catch information.
FleetEffortAggregator::FleetEffortAggregator | ( | const FleetPtrVector & | Fleets, |
const StockPtrVector & | Stocks, | ||
const IntMatrix & | Areas | ||
) |
This is the FleetEffortAggregator constructor.
Fleets | is the FleetPtrVector of the fleets that will be aggregated |
Stocks | is the StockPtrVector of the stocks that will be aggregated |
Areas | is the IntMatrix of areas that the catch can take place on |
FleetEffortAggregator::~FleetEffortAggregator | ( | ) |
This is the default FleetEffortAggregator destructor.
|
inline |
This will return the DoubleMatrixPtrVector containing the aggregated catch information.
void FleetEffortAggregator::Print | ( | ofstream & | outfile | ) | const |
This will print the aggregator information to the ofstream specified.
outfile | is the ofstream to the file that the aggregator information gets sent to |
void FleetEffortAggregator::Reset | ( | ) |
This function will reset the fleet catch information.
void FleetEffortAggregator::Sum | ( | ) |
This function will aggregate the fleet catch data.