|
ADS-IDAC Engine 5.0.0
|
Per-clique lookup from a flat clique index to the state of each scope variable. More...
#include <workspace.hpp>
Public Attributes | |
| std::vector< std::vector< uint8_t > > | state_of_dim |
| std::size_t | n_states_total = 0 |
| number of joint states of the clique More... | |
Per-clique lookup from a flat clique index to the state of each scope variable.
Queries and evidence application use it to accumulate or scale clique entries by variable state in one pass over the clique, without building a marginal Factor.
Definition at line 79 of file workspace.hpp.
| std::size_t bncore::CliqueMargInfo::n_states_total = 0 |
number of joint states of the clique
Definition at line 85 of file workspace.hpp.
Referenced by bncore::BatchWorkspace::build_message_schedule(), bncore::BatchWorkspace::query_map(), and bncore::BatchWorkspace::query_marginals_multi().
| std::vector<std::vector<uint8_t> > bncore::CliqueMargInfo::state_of_dim |
For each variable position in the clique scope: state_of_dim[d][flat_idx] = coord of scope[d] at flat index flat_idx Length: [scope_size][clique_states] Stored as uint8_t, so a state index above 255 cannot be represented.
Definition at line 84 of file workspace.hpp.
Referenced by bncore::BatchWorkspace::apply_soft_evidence_to_clique(), bncore::BatchWorkspace::build_message_schedule(), bncore::BatchWorkspace::query_map(), and bncore::BatchWorkspace::query_marginals_multi().