|
MASA-Core
|
Definition at line 35 of file SpecialRowsArea.hpp.
#include <SpecialRowsArea.hpp>
Public Member Functions | |
| SpecialRowsArea (string directory, long long ram_limit, long long disk_limit, const score_params_t *score_params) | |
| virtual | ~SpecialRowsArea () |
| SpecialRowsPartition * | createPartition (int i0, int j0, int i1, int j1) |
| SpecialRowsPartition * | openPartition (int i0, int j0) |
| SpecialRowsPartition * | openPartition (int i0, int j0, int i1, int j1) |
| void | truncatePartition (SpecialRowsPartition *partition, int max_i, int max_j) |
| void | createSplittedPartitions (int i0, int j0, int i1, int j1, int ni, int nj, SeekableCellsReader *firstRow, SeekableCellsReader *firstColumn, CellsWriter *lastRow, CellsWriter *lastColumn) |
| int | getRowsCount () const |
| int | getPartitionsCount () const |
| const string & | getDirectory () const |
| void | setPersistentPartitions (bool persistent) |
| vector< SpecialRowsPartition * > | getSortedPartitions () |
Private Member Functions | |
| string | getPartitionPath (int i0, int j0, int i1, int j1) |
Private Attributes | |
| bool | persistentPartitions |
| string | directory |
| long long | disk_limit |
| long long | ram_limit |
| map< string, SpecialRowsPartition * > | partitions |
| int | rowsCount |
| const score_params_t * | score_params |
| SpecialRowsArea::SpecialRowsArea | ( | string | directory, |
| long long | ram_limit, | ||
| long long | disk_limit, | ||
| const score_params_t * | score_params | ||
| ) |
Definition at line 38 of file SpecialRowsArea.cpp.
| SpecialRowsArea::~SpecialRowsArea | ( | ) | [virtual] |
Definition at line 49 of file SpecialRowsArea.cpp.
| SpecialRowsPartition * SpecialRowsArea::createPartition | ( | int | i0, |
| int | j0, | ||
| int | i1, | ||
| int | j1 | ||
| ) |
Definition at line 56 of file SpecialRowsArea.cpp.
| void SpecialRowsArea::createSplittedPartitions | ( | int | i0, |
| int | j0, | ||
| int | i1, | ||
| int | j1, | ||
| int | ni, | ||
| int | nj, | ||
| SeekableCellsReader * | firstRow, | ||
| SeekableCellsReader * | firstColumn, | ||
| CellsWriter * | lastRow, | ||
| CellsWriter * | lastColumn | ||
| ) |
Definition at line 146 of file SpecialRowsArea.cpp.
| const string & SpecialRowsArea::getDirectory | ( | ) | const |
Definition at line 108 of file SpecialRowsArea.cpp.
| string SpecialRowsArea::getPartitionPath | ( | int | i0, |
| int | j0, | ||
| int | i1, | ||
| int | j1 | ||
| ) | [private] |
Definition at line 209 of file SpecialRowsArea.cpp.
| int SpecialRowsArea::getPartitionsCount | ( | ) | const |
Definition at line 103 of file SpecialRowsArea.cpp.
| int SpecialRowsArea::getRowsCount | ( | ) | const |
Definition at line 95 of file SpecialRowsArea.cpp.
| vector< SpecialRowsPartition * > SpecialRowsArea::getSortedPartitions | ( | ) |
Definition at line 229 of file SpecialRowsArea.cpp.
| SpecialRowsPartition * SpecialRowsArea::openPartition | ( | int | i0, |
| int | j0 | ||
| ) |
Definition at line 116 of file SpecialRowsArea.cpp.
| SpecialRowsPartition * SpecialRowsArea::openPartition | ( | int | i0, |
| int | j0, | ||
| int | i1, | ||
| int | j1 | ||
| ) |
Definition at line 65 of file SpecialRowsArea.cpp.
| void SpecialRowsArea::setPersistentPartitions | ( | bool | persistent | ) |
Definition at line 112 of file SpecialRowsArea.cpp.
| void SpecialRowsArea::truncatePartition | ( | SpecialRowsPartition * | partition, |
| int | max_i, | ||
| int | max_j | ||
| ) |
Definition at line 79 of file SpecialRowsArea.cpp.
string SpecialRowsArea::directory [private] |
Definition at line 55 of file SpecialRowsArea.hpp.
long long SpecialRowsArea::disk_limit [private] |
Definition at line 56 of file SpecialRowsArea.hpp.
map<string, SpecialRowsPartition*> SpecialRowsArea::partitions [private] |
Definition at line 58 of file SpecialRowsArea.hpp.
bool SpecialRowsArea::persistentPartitions [private] |
Definition at line 54 of file SpecialRowsArea.hpp.
long long SpecialRowsArea::ram_limit [private] |
Definition at line 57 of file SpecialRowsArea.hpp.
int SpecialRowsArea::rowsCount [private] |
Definition at line 59 of file SpecialRowsArea.hpp.
const score_params_t* SpecialRowsArea::score_params [private] |
Definition at line 60 of file SpecialRowsArea.hpp.
1.7.6.1