autoppl
v0.8
A C++ template library for probabilistic programming
offset_pack.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <cstdint>
3
#include <cstddef>
4
5
namespace
ppl
{
6
namespace
util {
7
8
struct
OffsetPack
9
{
10
using
index_t
= uint32_t;
11
index_t
uc_offset
= 0;
// unconstrained param offset
12
index_t
c_offset
= 0;
// constrained param offset
13
index_t
v_offset
= 0;
// visit count offset
14
index_t
tp_offset
= 0;
// transformed param offset
15
};
16
17
}
// namespace util
18
}
// namespace ppl
ppl::util::OffsetPack::c_offset
index_t c_offset
Definition:
offset_pack.hpp:12
ppl::util::OffsetPack::index_t
uint32_t index_t
Definition:
offset_pack.hpp:10
ppl::util::OffsetPack::v_offset
index_t v_offset
Definition:
offset_pack.hpp:13
ppl::util::OffsetPack::uc_offset
index_t uc_offset
Definition:
offset_pack.hpp:11
ppl::util::OffsetPack::tp_offset
index_t tp_offset
Definition:
offset_pack.hpp:14
ppl
Definition:
bounded.hpp:11
ppl::util::OffsetPack
Definition:
offset_pack.hpp:9
include
autoppl
util
packs
offset_pack.hpp
Generated by
1.8.20