Presentation is loading. Please wait.

Presentation is loading. Please wait.

MAXIMAL CLIQUES and JOIN TREE Algorithms Peter Schlette CSE990 – Adv. Constraints Fall 2009.

Similar presentations


Presentation on theme: "MAXIMAL CLIQUES and JOIN TREE Algorithms Peter Schlette CSE990 – Adv. Constraints Fall 2009."— Presentation transcript:

1 MAXIMAL CLIQUES and JOIN TREE Algorithms Peter Schlette CSE990 – Adv. Constraints Fall 2009

2 MAXIMAL CLIQUES Inputs: A chordal graph and a perfect elimination order for it, σ (may be obtained via Min-Fill). Outputs: A vector of cliques. For simplicity’s sake, we’ll use Chris’s graph as our test case. D B A C E F G

3 CLIQUES Procedure Initialize S(v) = 0 (where v is any variable in V) For i = 1 up to n – Let v be the i’th variable in the ordering – Let X be the set of variables adjacent to v that come after v in the ordering. – If v has no neighbors, then put it in its own clique. – If v has neighbors but all of them come before v in the ordering, then stop the algorithm – we’re finished. – Let u be the member of X that’s earliest in the ordering. – Let S(u) be the maximum of S(u) and |X|-1. – If S(v) < |X|, then add a clique: v (union) X.

4 JOIN-TREE Input: A vector of cliques. – Hmm…where could we get one of those? – (From MAXIMAL CLIQUES, of course!) Output: A join-tree of cliques, i.e. our vector of cliques arranged in a tree structure such that cliques that share the greatest number of variables are connected.

5 JOIN-TREE Procedure Dechter Figure 9.4 For every clique C i in our vector C: – Connect C i to the C j (j < i) with which it shares the most variables Return the tree we’ve constructed.

6 Result {A, B, C, D} {B, D, E} {D, E, F} {E, F, G}


Download ppt "MAXIMAL CLIQUES and JOIN TREE Algorithms Peter Schlette CSE990 – Adv. Constraints Fall 2009."

Similar presentations


Ads by Google