edu.ucla.belief.tree
Interface CostFunction


public interface CostFunction

A cost function for the edges in a JoinTree. This can be used by traditionalJoinTree(Graph,List,CostFunction) to generate a join tree whose edges are chosen so as to minimize the cost. This is described in [2].


Method Summary
 double cost(Set cluster1, Set cluster2)
          A non-negative function representing the cost of the edge connecting the two clusters.
 

Method Detail

cost

double cost(Set cluster1,
            Set cluster2)
A non-negative function representing the cost of the edge connecting the two clusters.



Copyright 2010 UCLA Automated Reasoning Group