We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
forest_cover_edge_sequence
1 parent b83ee36 commit 6161cb3Copy full SHA for 6161cb3
src/beliefpropagation/beliefpropagationproblem.jl
@@ -9,7 +9,7 @@ function default_algorithm(
9
bpc::BeliefPropagationCache;
10
verbose = false,
11
tol = nothing,
12
- edge_sequence = forest_cover_edge_sequence(underlying_graph(bpc)),
+ edge_sequence = forest_cover_edge_sequence(network(bpc)),
13
message_update_alg = default_algorithm(Algorithm"contract"),
14
maxiter = is_tree(bpc) ? 1 : nothing,
15
)
@@ -44,7 +44,8 @@ end
44
function region_plan(
45
prob::BeliefPropagationProblem; root_vertex = default_root_vertex, sweep_kwargs...
46
47
- edges = forest_cover_edge_sequence(underlying_graph(prob.cache); root_vertex)
+
48
+ edges = forest_cover_edge_sequence(network(prob.cache); root_vertex)
49
50
plan = map(edges) do e
51
return [e] => (; sweep_kwargs...)
0 commit comments