<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Heuristic (computer science) - Page 12 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=Heuristic_(computer_science)&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Heuristic_%28computer_science%29&amp;p=13">3.Next</a>
</p>
<p>the node that is closest to the goal based solely on the heuristic function (h(n)), without considering the path cost so far. It is fast but does not guarantee an optimal solution.<br/>
* <b><a href="page.php?w=Hill_climbing">Hill Climbing</a>:</b> A local search algorithm that iteratively moves from the current state to a better neighboring state. It is simple to implement but can get stuck in local optima (suboptimal solutions that are better than their immediate neighbors but not the overall best). An objective function (like a gradient for</p><p>
<a accesskey="1" href="page.php?w=Heuristic_(computer_science)&amp;p=11">1.Previous</a><br />
<a accesskey="3" href="page.php?w=Heuristic_%28computer_science%29&amp;p=13">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
