Week 3: Randomness and Local Search Methods Flashcards

1
Q

WITNESS

A

This is a protocol for checking whether two different sequences of bits, x and y of length n, are the same or different.

A random prime number is chosen in the range of 2 to n^2. The modulo of this number is performed on x and y. If the modulos are identical, then x and y are reported as being the same. Otherwise, they’re reported as being different.

If x and y are indeed the same, WITNESS always correctly identifies them as the same. If x and y are different, there’s a chance WITNESS accidentally identifies them as being the same.

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

Miller Rabin Test

A

This test helps find prime numbers. If the candidate number is composite, the test always identifies it as a composite number. If the candidate number is a prime number, the test has up to a 50% chance of finding that it’s a prime number.

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

Energy Landscape

A

This is the feature space R with all possible configurations and their values.

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

Local Optimum

A

A configuration is a local optimum if it’s less than or equal to all other configurations in its neighbourhood.

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

Global Optimum

A

A configuration is a global optimum if it’s less than or equal to all configurations in R.

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

Plateau

A

A configuration is in a plateau if its equal to all of its neighbours.

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