9.2: Runtime Analysis

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

Goal of design and analysis of algorithms

  • Correctness

  • Computational complexity

2
New cards

Goals of evolutionary algorithms

  • Convergence

  • Time complexity

3
New cards

Schema Theory

Proposed to understand the behaviour of the simple genetic algorithm - cannot explain performance or limit behaviour of EAs.

4
New cards

Convergence

Ideally, the EA should find the solution in finite steps with probability 1. If the solution is held forever often, the algorithm has converged to the optimum.

5
New cards

Conditions for Convergence

  • Positive probability to reach any point in the search space from any other point.

  • Best found solution is never removed from the population.

6
New cards

Canonical GAs vs Elitist GAs

Canonical GAs (mutation, crossover, proportional selection) do not converge - Elitist GAs do converge.

7
New cards

Runtime of an EA

A random variable, Tf:

  • Estimating E(Tf), the expected runtime of the EA for f;

  • Estimating P(Tf <= t), the success probability of the EA in t steps for f.

8
New cards

(u + L) EA

Initialise P0 with u individuals chosen uniformly at random from {0, 1}^n.

for t = 0, 1, 2, ā€¦ until the stopping condition is set, do:

  1. Create L new individuals by:

    1. Choosing x in P_t uniformly at random

    2. Flipping each bit in x with probability p

  2. Creating the new population P_(t + 1)

    1. Choosing the best u individuals out of u + L

9
New cards

u in (u + L) EA

Population size.

10
New cards

L in (u + L) EA

How many new individuals to generate.

11
New cards

(1 + 1) EA

Initialise x uniformly at random from {0, 1}^n.

do:

  1. Create xā€™ by flipping each bit in x with p = 1/n.

  2. If f(xā€™) >= f(x) then:

    1. x = xā€™

Until the stopping condition is met.

12
New cards

Fitness-Based Partitions

A tuple (A1, A2, ā€¦, Am) is an f-based partition of f : X ā†’ R if:

  • A1 U A2 U ā€¦ U Am = X

  • Ai and Aj is empty for i ā‰  j

  • f(A1) < f(A2) < ā€¦ < f(Am)

  • f(Am) = maxx f(x)