sumu.mcmc_moves module

sumu.mcmc_moves.DAG_edge_reversal(**kwargs)
sumu.mcmc_moves.R_split_merge(**kwargs)

Splits or merges a root-partition [1].

Parameters:

**kwargs – {“R”: root-partition, “validate”: boolean for whether to just validate input root-partition}

Returns:

proposed root-partition, proposal probability, inverse proposal probability, set of nodes that need to be rescored

Return type:

tuple

sumu.mcmc_moves.R_swap_node_pair(**kwargs)