local search Flashcards
what’s a local maximum?
-A local maximum occurs when the current solution is better than its neighbors but is not the best solution globally.
-the goal of a local search algorithm is to find the global maximum, but this is not guaranteed if the algorithm gets trapped in a local maximum
what’s a plateaus?
- a flat region in the search space where the objective function remains constant or changes very slowly.(can pose as a problem)
what’s a ridge?
-a narrow, elongated region in the search space where the values of the objective function rise gradually (can pose as a problem)
when do we use local search?
- when there are limited resources
what are the characteristics of local search?
-it focuses on neighbouring states
-doesn’t keep track of visited states
-the goal is to find a solution without considering distant states
what are the main challenger for hill climbing?
-ridges
-local maxima
-plateaus
what’s a search that solves the local maxima problem?
-Simulated Annealing: it Combines hill climbing with random exploration.
what’s a local beam search?
- at each step, the algorithm generates k successor states from the current state.
-If k is greater than 1, the algorithm maintains multiple states simultaneously, each state will continue climbing indipendently
what’s a crossover operation? ( genetics algorithms)
- pairs of individuals are selected from the population.
-A crossover point is chosen at random for each pair.
-Offspring are created by exchanging genetic material (information) between the parents at the crossover point.