Lecture 2 - Heuristic Components of Hill Climbing Flashcards
What are the main components of meta/hyper heuristic search/optimisation methods?
Representation (also can be known as encoding) of candidate solutions e.g. binary, integer array
Neighbourhood relation (move operators)
Evaluation function (Objective value)
Initialisation e.g. random
Search process (guideline)
Mechanism for escaping from local optima
What are the properties/parts of representation?
Completeness - all solutions must be represented
Connexity - a search path must exist between any two solutions of the search space i.e. any solution can be obtained
Efficiency - the representation must be easy/fast to manipulate by the search operators
What are the 4 types of encoding?
Binary - 1s and 0s
Permutation - Each part is a different permutation e.g. different arrangement for the cities in TSP
Integer encoding - Each entry corresponds to an item e.g. 1 is layer 1, 2 is layer 2, etc…
Value encoding - Each entry has an associated value to it
What is the Boolean Satisfiability Problem?
Given a certain amount of combinations of variables, is there an assignment of both true and false values that can make the overall equation true?
What is a neighbourhood?
A solution x is a set of solutions that can be reached from x by a simple operator (move operator/heuristic)
What is the Hamming Distance?
A measure of the amount of different moves that must be made in order to get from one solution to another e.g. if a solution took three bit flips to get to the other solution, then the Hamming distance would be 3.
What is the neighbourhood size a measure of?
The neighbourhood size dictates how ‘long’ the solution is e.g. if the solution is 0110, then the neighbourhood size would be 4
What are the neighbourhood sizes when using integer/value encoding?
Neighbourhood size is (k-1)n, where k is the size of the alphabet, and n is the size of the solution.
What is the neighbourhood size when using permutation encoding?
n(n-1), where n is the size of the solution.
What is an evaluation function?
Can also be referred to as objective, cost, fitness, penalty.
Indicates the quality of a given solution.
What is delta evaluation?
Calculate the effects of differences between current search position s and a neighbour s’ on the evaluation function value.
What is a mutational heuristic/operator?
Processes a given candidate solution and generates a solution which is not guaranteed to be better than the input
What is a hill climbing heuristic/operator?
Processes a given candidate solution and generates a better or equal quality solution
What is a hill climbing algorithm for a minimisation problem?
Constantly moves in the direction of decreasing level/objective value to find the lowest point of the landscape or best/near optimal solution to the problem
What is a hill climbing algorithm for a maximisation problem?
Constantly moves in the direction of increasing level/objective value to find the highest point of the landscape or best/near optimal solution to the problem.