Search

Heuristics of \(A^\ast\)

Admissability: heuristic cost is less than or equal to the actual cost to the goal.

\begin{equation} h(A) \leq \text{actual cost from A to G} \end{equation}

Consistency: heuristic “arc” cost is less than or equal to the actual cost of each arc.

\begin{equation} h(A) - h(C) \leq \text{cost}A\text{to}~C \end{equation}

\(\alpha / \beta\) Pruning

An extension of the Minimax algorithm. It is a depth-first-search which saves time and space by “pruning” branches where there already are established minimums or maximums.

  1. In the beginning, variables are unknown. As such, \(\alpha = -\infty\) and \(\beta = \infty\)
  2. \(\alpha\) and \(\beta\) propagate between levels. For the Max player, only the \(\alpha\) gets changed. For the Min player, only the \(\beta\) gets changed.
  3. Prune any time \(\alpha \geq \beta\)

Quote of the Day

When I invented the web, I didn’t have to ask anyone’s permission. Now, hundreds of millions of people are using it freely. I am worried that that is going end in the USA. … Democracy depends on freedom of speech. Freedom of connection, with any application, to any party, is the fundamental social basis of the Internet, and, now, the society based on it.

— Tim-Berners Lee


2023-04-27