num::structures::sample_biclique_tree¶
Defined in header <structures/graph/clique.hpp>
template <typename Weight, typename Rng, typename Emit>
void sample_biclique_tree(const array<Weight> &x, const array<Weight> &y, Weight pivot,
Rng &rng, std::size_t trees, Emit emit);
Eliminate an LU pivot approximately by sampling a tree over its row and column: \(\mathbb{E}[\tilde{S}_v] = x y^T / a\). Requires \(x_i, y_j, a > 0\); emit(i, j, w) receives each directed fill edge.