tatami
C++ API for different matrix representations
Loading...
Searching...
No Matches
tatami
base
Oracle.hpp
Go to the documentation of this file.
1
#ifndef TATAMI_ORACLE_HPP
2
#define TATAMI_ORACLE_HPP
3
10
namespace
tatami
{
11
20
template
<
typename
Index_>
21
class
Oracle
{
22
public
:
26
Oracle
() =
default
;
27
Oracle
(
const
Oracle
&) =
default
;
28
Oracle
& operator=(
const
Oracle
&) =
default
;
29
Oracle
(
Oracle
&&) =
default
;
30
Oracle
& operator=(
Oracle
&&) =
default
;
31
virtual
~Oracle
() =
default
;
39
virtual
size_t
total
()
const
= 0;
40
45
virtual
Index_
get
(
size_t
i)
const
= 0;
46
};
47
48
}
49
50
#endif
tatami::Oracle
Predict future access requests on the target dimension.
Definition
Oracle.hpp:21
tatami::Oracle::total
virtual size_t total() const =0
tatami::Oracle::get
virtual Index_ get(size_t i) const =0
tatami
Flexible representations for matrix data.
Definition
Extractor.hpp:15
Generated by
1.9.8