|
Gadget
|
#include "readaggregation.h"#include "readfunc.h"#include "errorhandler.h"#include "gadget.h"#include "global.h"
Functions | |
| int | readAggregation (CommentStream &infile, IntMatrix &agg, CharPtrVector &aggindex) |
| This is the function that will read aggregation data from a file into a matrix. More... | |
| int | readAggregation (CommentStream &infile, IntVector &agg, CharPtrVector &aggindex) |
| This is the function that will read aggregation data from a file into a vector. More... | |
| int | readLengthAggregation (CommentStream &infile, DoubleVector &lengths, CharPtrVector &lenindex) |
| This is the function that will read length aggregation data from a file. More... | |
| int | readPreyAggregation (CommentStream &infile, CharPtrMatrix &preynames, DoubleMatrix &preylengths, FormulaMatrix &digestioncoeff, CharPtrVector &preyindex, Keeper *const keeper) |
| This is the function that will read prey aggregation data from a file. More... | |
| int readAggregation | ( | CommentStream & | infile, |
| IntMatrix & | agg, | ||
| CharPtrVector & | aggindex | ||
| ) |
This is the function that will read aggregation data from a file into a matrix.
| infile | is the CommentStream to read the aggregation data from |
| agg | is the IntMatrix that the aggregated data will be stored in |
| aggindex | is the CharPtrVector that the aggregated data labels will be stored in |
| int readAggregation | ( | CommentStream & | infile, |
| IntVector & | agg, | ||
| CharPtrVector & | aggindex | ||
| ) |
This is the function that will read aggregation data from a file into a vector.
| infile | is the CommentStream to read the aggregation data from |
| agg | is the IntVector that the aggregated data will be stored in |
| aggindex | is the CharPtrVector that the aggregated data labels will be stored in |
| int readLengthAggregation | ( | CommentStream & | infile, |
| DoubleVector & | lengths, | ||
| CharPtrVector & | lenindex | ||
| ) |
This is the function that will read length aggregation data from a file.
| infile | is the CommentStream to read the aggregation data from |
| lengths | is the DoubleVector that the aggregated length data will be stored in |
| lenindex | is the CharPtrVector that the aggregated length labels will be stored in |
| int readPreyAggregation | ( | CommentStream & | infile, |
| CharPtrMatrix & | preynames, | ||
| DoubleMatrix & | preylengths, | ||
| FormulaMatrix & | digestioncoeff, | ||
| CharPtrVector & | preyindex, | ||
| Keeper *const | keeper | ||
| ) |
This is the function that will read prey aggregation data from a file.
| infile | is the CommentStream to read the aggregation data from |
| preynames | is the CharPtrVector that the prey names will be stored in |
| preylengths | is the DoubleMatrix that the aggregated prey length data will be stored in |
| digestioncoeff | is the FormulaMatrix that the prey digestion data will be stored in |
| preyindex | is the CharPtrVector that the aggregated prey labels will be stored in |
| keeper | is the Keeper for the current model |