@@ -66,7 +66,7 @@ function region_scalar(bpc::AbstractBeliefPropagationCache, pe::PartitionEdge; k
6666 return not_implemented ()
6767end
6868partitions (bpc:: AbstractBeliefPropagationCache ) = not_implemented ()
69- partitionpairs (bpc:: AbstractBeliefPropagationCache ) = not_implemented ()
69+ PartitionedGraphs . partitionedges (bpc:: AbstractBeliefPropagationCache ) = not_implemented ()
7070
7171function default_edge_sequence (
7272 bpc:: AbstractBeliefPropagationCache ; alg= default_message_update_alg (bpc)
@@ -107,7 +107,7 @@ function vertex_scalars(bpc::AbstractBeliefPropagationCache, pvs=partitions(bpc)
107107end
108108
109109function edge_scalars (
110- bpc:: AbstractBeliefPropagationCache , pes= partitionpairs (bpc); kwargs...
110+ bpc:: AbstractBeliefPropagationCache , pes= partitionedges (bpc); kwargs...
111111)
112112 return map (pe -> region_scalar (bpc, pe; kwargs... ), pes)
113113end
@@ -284,12 +284,12 @@ function update(
284284 return update (Algorithm (alg), bpc; kwargs... )
285285end
286286
287- function rescale_message (bp_cache:: AbstractBeliefPropagationCache , partitionpair )
288- return rescale_messages (bp_cache, typeof (partitionpair)[partitionpair ])
287+ function rescale_message (bp_cache:: AbstractBeliefPropagationCache , partitionedge )
288+ return rescale_messages (bp_cache, typeof (partitionedge)[partitionedge ])
289289end
290290
291291function rescale_messages (bp_cache:: AbstractBeliefPropagationCache )
292- return rescale_messages (bp_cache, partitionpairs (bp_cache))
292+ return rescale_messages (bp_cache, partitionedges (bp_cache))
293293end
294294
295295function rescale_partitions (
0 commit comments