Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.86 KB

REVIEW3.md

File metadata and controls

28 lines (21 loc) · 1.86 KB


At a glance... | Syllabus | Models | Code | Lecturer

Simulated Annealing

  1. In a few lines, define ordered and unordered search. In what way are they different?
  2. In a few lines, compare and contrast: (1) Greedy search; (2) Local Search; and (3) Stochastic search. What, if any, are the trade-offs in using a Stochastic search?
  3. In about 10 lines, write down the pseudo-code for SA. Number each line.
  4. In the pseudo-code for SA, you used a neighbourhood function Neighbour(). Write down an expression for this.
    1. In the pseudo-code for SA, you used a probability function P(e_new, e_old, t). What would be a valid mathematical expression for this?
  5. With respect to function P(e_new, e_old, t), justify the following statements:
    • Initially, SA is like a drunk, then it sobers up.
    • SA consumes lower memory.
  6. How would you terminate a stochastic algorithms such as SA sooner? (HINT: Look at variances of epochs)
  7. When finding a solution, you can either mutate towards ''Heaven'' (A better spot) or you can choose to mutate away from "Hell" (A worse spot). Why would you choose one over the other? (HINT: One of them has a better diversity of search.)

Copyright © 2015 Tim Menzies. This is free and unencumbered software released into the public domain.
For more details, see the license.