Local Search Flashcards

1
Q

What is local search?

A

A search algorithm designed for large or infinite state spaces, focusing on finding solutions rather than paths.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the advantages of local search?

A

Faster for large state spaces, more memory-efficient.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the disadvantages of local search?

A

Incomplete, suboptimal, and can get stuck in local optima.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is hill-climbing search?

A

A greedy algorithm that replaces the current state with the best neighboring state at each step.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the limitations of hill-climbing?

A

Can get stuck in local maxima, ridges, and plateaus.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is random-restart hill climbing?

A

A method where hill climbing is run multiple times with different initial states to improve the chance of success.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is simulated annealing?

A

A probabilistic algorithm inspired by annealing in metallurgy, allowing occasional moves to worse states to escape local optima.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does simulated annealing decide whether to accept a worse state?

A

By using the probability If /delta E > 0 then the new state is accepted immediately whereas /delta E < 0 then new state is only accepted with probability that depends on T and /delta E

where /delta E is the change in value and T is the temperature.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does temperature affect simulated annealing?

A

A high temperature allows more exploration; as temperature decreases, the algorithm becomes more selective.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a genetic algorithm?

A

A search method inspired by natural evolution that uses selection, mutation, and recombination to evolve solutions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a genotype in genetic algorithms?

A

The encoded representation of a candidate solution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a phenotype in genetic algorithms?

A

The observable characteristics derived from the genotype.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a fitness function?

A

A function that evaluates how well a candidate solution meets the problem’s objective.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are common selection methods in genetic algorithms?

A

Proportionate selection, rank-based selection, tournament selection, and truncation selection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is elitism in genetic algorithms?

A

A technique that ensures the best individuals from the previous generation are preserved in the new generation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are mutation operators?

A

Methods that randomly alter the genotype, such as single-point and multi-point mutations.

17
Q

What are crossover operators?

A

Methods that combine genetic material from two parents to create offspring, such as one-point and multi-point crossover.

18
Q

What is the role of genetic diversity in evolution?

A

Higher diversity helps prevent premature convergence to local optima.

19
Q

What is the tradeoff in genetic algorithm population size?

A

A larger population increases diversity but requires more computational power.

20
Q

What problem was solved using a genetic algorithm in the presentation?

A

The Australia map coloring problem, ensuring no two adjacent regions share the same color.