9.2: Runtime Analysis

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 5:44 PM on 5/23/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

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)

Explore top notes

note
AP Music Theory Ultimate Guide
Updated 1072d ago
0.0(0)
note
Human Geography Unit 5
Updated 347d ago
0.0(0)
note
Data Trends
Updated 1149d ago
0.0(0)
note
Fluids: chapter 8
Updated 480d ago
0.0(0)
note
AP Music Theory Ultimate Guide
Updated 1072d ago
0.0(0)
note
Human Geography Unit 5
Updated 347d ago
0.0(0)
note
Data Trends
Updated 1149d ago
0.0(0)
note
Fluids: chapter 8
Updated 480d ago
0.0(0)

Explore top flashcards

flashcards
Frans HCE 11
53
Updated 1094d ago
0.0(0)
flashcards
IMENICE
32
Updated 393d ago
0.0(0)
flashcards
abeka history 10 section 5.1
23
Updated 920d ago
0.0(0)
flashcards
Culture Quiz #2
24
Updated 473d ago
0.0(0)
flashcards
SAT Math Formulas
20
Updated 234d ago
0.0(0)
flashcards
Ap psych unit 1 vocab
36
Updated 933d ago
0.0(0)
flashcards
Frans HCE 11
53
Updated 1094d ago
0.0(0)
flashcards
IMENICE
32
Updated 393d ago
0.0(0)
flashcards
abeka history 10 section 5.1
23
Updated 920d ago
0.0(0)
flashcards
Culture Quiz #2
24
Updated 473d ago
0.0(0)
flashcards
SAT Math Formulas
20
Updated 234d ago
0.0(0)
flashcards
Ap psych unit 1 vocab
36
Updated 933d ago
0.0(0)