Presentation is loading. Please wait.

Presentation is loading. Please wait.

Search by partial solutions.  nodes are partial or complete states  graphs are DAGs (may be trees) source (root) is empty state sinks (leaves) are complete.

Similar presentations


Presentation on theme: "Search by partial solutions.  nodes are partial or complete states  graphs are DAGs (may be trees) source (root) is empty state sinks (leaves) are complete."— Presentation transcript:

1 Search by partial solutions

2  nodes are partial or complete states  graphs are DAGs (may be trees) source (root) is empty state sinks (leaves) are complete states  directed edges represent setting parameter values

3 4 queens: separate row and column complete solutions possible pruning

4 Implications of partial solutions  pruning of “impossible” partial solutions  need partial evaluation function

5 Partial Solution Trees and DAGs  trees: search might use tree traversal methods based on BFS, DFS advantage: depth is limited! (contrast to complete solution space)  DAGs: spanning trees

6 Partial solution algorithms  greedy  divide and conquer  dynamic programming  branch and bound  A*

7 Greedy algorithm  make best ‘local’ parameter selection at each step: complete solutions

8 Greedy SAT  partial evaluation  order of setting propositions T/F P = {P 1, P 2,…,P n } f(P) = D 1  D 2 ...  D k e.g., D i = P f  ~P g  P h How much pre-processing?

9 Greedy TSP  partial evaluation  order of adding edges Cities: C 1, C 2,…,C n symmetric distances How much preprocessing? C1C1 C2C2 C2C2

10 Branch and bound  Avoid traversing paths to complete solutions based on partial evaluation  Does not avoid exponential performance

11 4 queens: separate row and column complete solutions possible pruning More in next slide set…


Download ppt "Search by partial solutions.  nodes are partial or complete states  graphs are DAGs (may be trees) source (root) is empty state sinks (leaves) are complete."

Similar presentations


Ads by Google