Definition
Local Search
Neighbourhood
Given a state , the neighbourhood is the set of all subsequent states that can be reached from state .
Step Function
The step function defines the transition behaviour from one state to another state .
Best Improvement
Traverse completely and choose the best neighbour solution.
First Improvement
Traverse in a certain order and choose the first solution that is better than .
Random Neighbourhood
Choose a random solution from .
Examples
Local Search: SAT
Given: a Boolean function in CNF with variables , e.g.:
Find: a variable assignment, such that all clauses are satisfied.
Optimisation variant: Max