G5BAIM Artificial Intelligence Methods - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

G5BAIM Artificial Intelligence Methods

Description:

G5BAIM Artificial Intelligence Methods Graham Kendall Hill Climbing Hill Climbing Hill Climbing - Algorithm 1. Pick a random point in the search space 2. – PowerPoint PPT presentation

Number of Views:86
Avg rating:3.0/5.0
Slides: 8
Provided by: GrahamK151
Category:

less

Transcript and Presenter's Notes

Title: G5BAIM Artificial Intelligence Methods


1
G5BAIMArtificial Intelligence Methods
  • Graham Kendall

Hill Climbing
2
Hill Climbing
3
Hill Climbing - Algorithm
  • 1. Pick a random point in the search space
  • 2. Consider all the neighbours of the current
    state
  • 3. Choose the neighbour with the best quality and
    move to that state
  • 4. Repeat 2 thru 4 until all the neighbouring
    states are of lower quality
  • 5. Return the current state as the solution state

4
Hill Climbing - Algorithm
  • Function HILL-CLIMBING(Problem) returns a
    solution state
  • InputsProblem, problem
  • Local variablesCurrent, a node
  • Next, a node
  • Current MAKE-NODE(INITIAL-STATEProblem)
  • Loop do
  • Next a highest-valued successor of Current
  • If VALUENext lt VALUECurrent then return
    Current
  • Current Next
  • End

5
Hill Climbing
6
Hill Climbing
7
G5BAIMArtificial Intelligence Methods
  • Graham Kendall

End of Hill Climbing
Write a Comment
User Comments (0)
About PowerShow.com