MinWeight#

class pgmpy.inference.EliminationOrder.MinWeight(model)[source]#

Bases: BaseEliminationOrder

cost(node)[source]#

The cost of eliminating a node is the product of weights, domain cardinality, of its neighbors.