1#ifndef TATAMI_FIXED_ORACLE_HPP
2#define TATAMI_FIXED_ORACLE_HPP
9#include "sanisizer/sanisizer.hpp"
25template<
typename Index_,
typename Po
inter_ = const Index_*>
34 sanisizer::can_cast<std::size_t>(number);
42 return my_reference[i];
46 Pointer_ my_reference;
57template<
typename Index_,
class Container_ = std::vector<Index_> >
64 sanisizer::can_cast<PredictionIndex>(my_sequence.size());
68 return my_sequence.size();
72 return my_sequence[i];
76 Container_ my_sequence;
Predict future accesses from a vector containing a fixed sequence.
Definition FixedOracle.hpp:58
PredictionIndex total() const
Definition FixedOracle.hpp:67
Index_ get(PredictionIndex i) const
Definition FixedOracle.hpp:71
FixedVectorOracle(Container_ sequence)
Definition FixedOracle.hpp:63
Predict future accesses from a view on a fixed sequence.
Definition FixedOracle.hpp:26
Index_ get(PredictionIndex i) const
Definition FixedOracle.hpp:41
PredictionIndex total() const
Definition FixedOracle.hpp:37
FixedViewOracle(Pointer_ ptr, const PredictionIndex number)
Definition FixedOracle.hpp:33
Predict future access requests on the target dimension.
Definition Oracle.hpp:29
Flexible representations for matrix data.
Definition Extractor.hpp:15
std::size_t PredictionIndex
Definition Oracle.hpp:18