280 likes | 406 Vues
This document investigates the analysis of goal nodes in recursive functions and the patterns of their behavior based on various bounds. Each function, such as f(n), h(n), and g(n), reveals different pathways and shifts when manipulated with boundaries set at 4, 5, and 7. The goal is to understand how these configurations impact the function calculations and determine the minimum fringe necessary for reinitializing the bounds. By studying these patterns, we aim to shed light on the nuances of recursive functions in computational theory.
E N D
root f(n) 12 g(n), h(n) 0,4 goal
12 18 7 10 12 12
4 bound=4 0,4 12 18 7 7 12 12
4 bound=4 0,4 4 1,3 12 18 7 7 12 12
4 bound=4 0,4 4 1,3 5 2,3 12 18 7 7 12 12
4 bound=4 0,4 4 1,3 5 2,3 12 18 7 7 12 12
4 bound=4 0,4 4 1,3 5 4 2,3 2,2 12 18 7 7 12 12
4 bound=4 0,4 4 1,3 5 4 2,3 2,2 12 8 6,2 18 7 7 12 12
4 bound=4 0,4 4 1,3 5 4 2,3 2,2 12 8 6,2 18 7 7 12 12
4 bound=4 0,4 4 8 1,3 5,3 5 4 2,3 2,2 12 8 6,2 18 7 7 12 12
4 bound=4 0,4 4 8 1,3 5,3 5 4 2,3 2,2 12 8 6,2 18 7 7 12 12
4 bound=4 0,4 4 8 1,3 5,3 5 4 2,3 2,2 12 8 6,2 18 7 take minimum fringe f(n) as next bound and start again… 7 12 12
4 bound=5 0,4 12 18 7 7 12 12
4 bound=5 0,4 4 1,3 12 18 7 7 12 12
4 bound=5 0,4 4 1,3 5 2,3 12 18 7 7 12 12
4 bound=5 0,4 4 1,3 5 2,3 12 7 5,2 18 7 7 12 12
4 bound=5 0,4 4 1,3 5 2,3 12 7 5,2 18 7 7 12 12
4 bound=5 0,4 4 1,3 5 4 2,3 2,2 12 7 5,2 18 7 7 12 12
4 bound=5 0,4 4 1,3 5 4 2,3 2,2 12 7 8 5,2 6,2 18 7 7 12 12
4 bound=5 0,4 4 1,3 5 4 2,3 2,2 12 7 8 5,2 6,2 18 7 7 12 12
4 bound=5 0,4 4 8 1,3 5,3 5 4 2,3 2,2 12 7 8 5,2 6,2 18 7 7 12 12
4 bound=5 0,4 4 8 1,3 5,3 5 4 2,3 2,2 12 7 8 5,2 6,2 18 7 take minimum fringe f(n) as next bound and start again… 7 12 12
4 bound=7 0,4 12 18 7 7 12 12
4 bound=7 0,4 4 1,3 12 18 7 7 12 12
4 bound=7 0,4 4 1,3 5 2,3 12 18 7 7 12 12
4 bound=7 0,4 4 1,3 5 2,3 12 7 5,2 18 7 7 12 12
4 bound=7 0,4 4 1,3 5 2,3 12 7 5,2 18 7 7,0 7 12 12
4 bound=7 0,4 4 1,3 5 2,3 12 7 5,2 18 7 7,0 7 12 12 we found a goal node