AI學習筆記(三)

Local Search

Hill-climbing

  • Simple hill climbing
    Generate successors until one is found better than current node
  • Stochastic hill climbing
    Random selection among the uphill moves
  • First-choice hill climbing

Simulated annealing

Local beam search

? Initially: k random states
? Next: determine all successors of the k current states ? If any successor is a goal → finished
? Else, select k best from successors and repeat

  • Major difference from random-restart hill climbing
    ? k best across all successors of k states rather than one best successor from each of k states
    ? Allows more effort to be allocated to promising regions

Genetic algorithms

a variant of stochastic beam search in which successor states are generated by combining two parent states rather than by modifying a single state.

123.png

Like beam searches, GAs begin with a set of k randomly generated states, called the population.

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容