![]() |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
This class represents an access pattern to a certain object. More...
#include <stattiling.hh>
Public Member Functions | |
| r_Access (const r_Minterval &pattern, r_ULong accesses=1) | |
| Class constructor. More... | |
| const r_Minterval & | get_pattern () const |
| It takes as parameter the interval and the number of times that interval was accessed. More... | |
| void | set_pattern (const r_Minterval &pattern) |
| Sets the current interval (access pattern) More... | |
| r_ULong | get_times () const |
| Gets the number of times the pattern was accessed. More... | |
| void | set_times (r_ULong accesses) |
| Sets the number of times the pattern was accessed. More... | |
| bool | is_near (const r_Access &other, r_ULong border_threshold) const |
| Checks if a certain access pattern is "close enough" of other throws exception if the domains do not match. More... | |
| void | merge_with (const r_Access &other) |
| Merge this access pattern with another. More... | |
| void | print_status (std::ostream &os) const |
| Print object status. More... | |
| bool | operator== (const r_Access &other) const |
| Operator equal. More... | |
| bool | operator!= (const r_Access &other) const |
| Operator different. More... | |
This class represents an access pattern to a certain object.
r_Stat_Tiling receives a list of this objects so that an appropriate tiling can be defined.
|
explicit |
Class constructor.
| const r_Minterval& r_Access::get_pattern | ( | ) | const |
It takes as parameter the interval and the number of times that interval was accessed.
Gets the current interval (access pattern)
| r_ULong r_Access::get_times | ( | ) | const |
Gets the number of times the pattern was accessed.
Checks if a certain access pattern is "close enough" of other throws exception if the domains do not match.
| void r_Access::merge_with | ( | const r_Access & | other | ) |
Merge this access pattern with another.
| bool r_Access::operator!= | ( | const r_Access & | other | ) | const |
Operator different.
| bool r_Access::operator== | ( | const r_Access & | other | ) | const |
Operator equal.
| void r_Access::print_status | ( | std::ostream & | os | ) | const |
Print object status.
| void r_Access::set_pattern | ( | const r_Minterval & | pattern | ) |
Sets the current interval (access pattern)
| void r_Access::set_times | ( | r_ULong | accesses | ) |
Sets the number of times the pattern was accessed.