Template Struct JumpTable

Struct Documentation

template<typename Spec, typename Impl>
struct sgpl::JumpTable

Public Types

using tag_t = typename Impl::query_t
using library_t = typename Spec::library_t
using program_t = sgpl::Program<Spec>
using uid_t = size_t

Public Functions

auto MatchRaw(const tag_t &query) noexcept
auto MatchRegulated(const tag_t &query) noexcept
void SetRegulator(const uid_t uid, const float set) noexcept
void AdjRegulator(const uid_t uid, const float set) noexcept
void DecayRegulator(const uid_t uid, const float amt) noexcept
float ViewRegulator(const uid_t uid) const noexcept
void DecayRegulators() noexcept
uid_t GetUid(const tag_t tag) const noexcept
uid_t GetUid(const size_t pos) const noexcept
auto GetVal(const uid_t uid) const noexcept
bool HasVal(const size_t pos) const noexcept
void Clear() noexcept
size_t GetSize() const noexcept
void InitializeLocalAnchors(const program_t &prog, const size_t start_pos) noexcept
void InitializeGlobalAnchors(const sgpl::Program<Spec> &program, const size_t inclusion_mod = 1) noexcept
bool operator==(const JumpTable &other) const

Public Members

Impl match_bin