Builds a Cluster graph with the given properties.
Builds a Cluster graph with the given properties.
A map where the keys are the clusters and the values are the set of factors attached to the cluster
Edges as a set of pairs of keys of the cluster map
Spark context
Builds a Bethe Cluster Graph with given factors.
Builds a Bethe Cluster Graph with given factors.
Factor set
Spark Context
Bethe Cluster Graph with given factors