rasdaman complete source
|
#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 |
Gets the current interval (access pattern) 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 throw (r_Error) |
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... | |
r_Access::r_Access | ( | const r_Minterval & | pattern, |
r_ULong | accesses = 1 |
||
) |
Class constructor.
const r_Minterval& r_Access::get_pattern | ( | ) | const |
Gets the current interval (access pattern)
It takes as parameter the interval and the number of times that interval was accessed.
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.
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.