dk.bayes.infer.MessageOrder.scala Maven / Gradle / Ivy
The newest version!
package dk.bayes.infer
import dk.bayes.model.clustergraph.Cluster
/**
* Specifies order of clusters in which messages are sent for a single iteration of Belief Propagation.
*
* @author Daniel Korzekwa
*/
trait MessageOrder {
/**
* Returns order of clusters in which messages are sent for a single iteration of Belief Propagation.
*/
def ordered(clusters:Seq[Cluster]):Seq[Cluster]
}