mrfse.create.sampler: Create a sampler for Markov random field.
Description
Create a sampler for Markov random field from a DAG
Usage
mrfse.create.sampler(dag_adj, A)
Value
A list filled with the following components:
neigh: A list of neighborhood. For each i, neigh[[i]] is a markovian neighborhood of vertex i
probs: A list of probabilities. For each i, probs[[i]] is matrix of probabilities of vertex i given your markovian neighborhood. Those probabilites will be used to generate a sample.