Skip to main content

Comparative Analysis of Four Heuristic Functions that Optimizes the A* Search Algorithm | Chapter 02 | Advances in Mathematics and Computer Science Vol. 2

In  this  chapter are compared  four  heuristic  functions  with  high  efficiency  for an optimum solving  of  8-puzzle. The analysis is realized among Chebyshev distance, Hamming distance and Manhattan distance using A* search algorithm  implemented in  Java.  The  two  heuristic  functions defined  using  Chebyshev  distance  are  more informed than Hamming and Manhattan heuristics. This chapter also presents necessary stages in object oriented development  of  an  interactive  software dedicated to  simulate  the  A*  search  algorithm  for  8-puzzle.  The modelling  of  software  is achieved through  specific  UML  diagrams representing phases  of analysis,  design and implementation, the system thus being described in a clear and practical manner. In order to confirm that second Chebyshev  heuristic  is  more  efficient  was  used space  complexity  performance  criteria.  The  space  complexity was measured  by number  of generated  nodes from search tree, by  number  of  expanded  nodes  and by effective branching factor. From experimental results obtained by using second Chebyshev heuristic, improvements were observed  regarding  space  complexity  of  A* algorithm  versus  Hamming,  Manhattan  and  first  Chebyshev heuristics. Analysing the results presented in graphics, it can be asserted that number of steps made for obtaining the  solution  is  the  same  for  similar  configurations,  determining  the optimal  solutions  for  all  four  examined heuristics. But, investigating generated nodes number in the search tree associated with the A* algorithm using second Chebyshev  heuristic,  it  can  be  observed  that  this  number is  strictly  less  than number  obtain  by  using other  three  heuristics.  Calculating  approximately  effective branching  factor  for  all  four  heuristics,  there  were obtained values illustrated in figures. The values of b* appropriate to function hC2 are more appropriate to value 1 than values of b* appropriate to functions hM, hH, and hC1, so the A* algorithm using hC2 heuristic drives to an optimal  solution  in  a  way  that  appears  to  be  linear. According  to  these  experimental  values,  results  the superiority  of  second Chebyshev  heuristic  from  Manhattan,  Hamming  and  first  Chebyshev  heuristics.  In this case we can say that hC2 heuristic dominates hM, hH, and hC1 heuristics, from space complexity point of view.


Author(s) Details

Anca-Elena Iordan
Department of Electrical Engineering and Industrial Informatics, Engineering Faculty of Hunedoara, Polytechnic University Timisoara, Romania.

View Volume: https://doi.org/10.9734/bpi/amacs/v2

Comments

Popular posts from this blog

Empowerment and Leader Member Exchange towards Organizational Citizenship Behavior Readiness among Government Workforce in Malaysia | Book Publisher International

  State agencies are among the most significant entities that represent the public's needs, and their programmes are essential to a state's and the nation's economic growth and development. State agencies have been rife by public concerns for years, as demonstrated by the Public Complaints Bureau, as problems of inefficiency in service quality and delivery have yet to meet the public's standards. With the support of 15 employees from state agencies on Malaysia's east coast, this study aims to achieve three targets. The first and second objectives are to investigate the ties between leader-member exchange (LMX) and OCB empowerment. The final aim is to define the most significant factors that affect OCB willingness. A total of 288 people took part in the survey, which was conducted using a cluster sampling process. The survey items had achieved the necessary reliability, according to the pilot test results, and some sub-dimensions were renamed after factor analysis.

Re-asserting Cultural Perspectives: Old People and New Ideas in Bole Butake’s Lake God and The Survivors and Sankie Maimo’s Succession in Sarkov | Chapter 10 | Perspectives of Arts and Social Studies Vol. 2

African cultures have undergone transformations from the colonial period to the present, often to the detriment of its cultural evolution and within the larger global community. As it were, colonial education subordinated African communalism and created in its place an anti-African spirit evident in the assimilation of western values. This did not only end up in a kind of cultural betrayal, but also posed as a serious threat to the dignity and identity of the people. Those who fall prey to this kind of cultural imperialism are the young people who are often irrationally carried away by western fashion and modes that they tend to neglect and/or forget their cultural ways of life as they join the race of “progress.” This situation has given rise to a conscious effort by creative writers to re-assert and protect African values while at the same time liberating themselves from the longstanding western effort at suppressing, controlling and dominating their thoughts particularly through n

The Utilization of Agro-Waste: A Nanobiotechnology Point of View | Chapter 10 | Recent Advances in Biological Research Vol. 5

Aims: To review the utilization of agro-waste in the eco-friendly synthesis of nanoparticles and their biomedical, catalytic and industrial applications. Study Design: A review. Place and Duration of Study: This review was carried out in the interim of three weeks exploiting all relevant data, literature and publications where necessary. Methodology: Profound gathering of literatures/publications and reviews were employed with all carefulness and professional courtesy; enough useful information were gathered over time. The introduction emphasizes the dawn of science and technology, when great ideas were still latent later leading to the advent of history changing innovations like the completion of human genome and then the birth of nanotechnology. Although, nanotechnology had been known decades been popularized by Richard Feynman in his talks in the year 1959; and in this present dispensation, nanotechnology has been a solution to many intricate challenges/ t