Constraint Satisfaction Problems and Backtracking Improvements

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

1/11

flashcard set

Earn XP

Description and Tags

These vocabulary flashcards cover key heuristics and algorithms for solving Constraint Satisfaction Problems (CSPs), including backtracking enhancements and consistency checks discussed in Lecture 11.

Last updated 11:34 PM on 8/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

Backtracking Algorithm

A search algorithm that applies depth-first search (DFS) by assigning values to variables one by one and backtracking when a value assignment violates a constraint.

2
New cards

Minimum Remaining Value (MRV) Heuristic

A heuristic that selects the variable with the fewest legal values remaining in its domain to assign next.

3
New cards

Degree Heuristic

A tie-breaker heuristic that chooses the variable with the most constraints on the remaining unassigned variables.

4
New cards

Least Constraining Value (LCV) Heuristic

A heuristic that chooses the value for a variable that eliminates the fewest options from the domains of other variables to preserve future search possibilities.

5
New cards

Forward Checking

An improvement to backtracking that keeps track of remaining legal values for unassigned variables and terminate the search early if any variable’s domain becomes empty.

6
New cards

Arc Consistency

A condition where for every value in a domain did_i of variable xix_i, there exists some value in domain djd_j of variable xjx_j that satisfies the binary constraint between them.

7
New cards

AC-3 Algorithm

A recursive procedure that propagates arc consistency by maintaining a queue of arcs and removing inconsistent values from variable domains until the queue is empty.

8
New cards

Binary Constraint

A constraint involving a relationship between exactly two variables.

9
New cards

Unary Constraint

A constraint that limits the possible values of a single variable independently of other variables.

10
New cards

Variable Elimination Algorithm

A method for solving constraint satisfaction problems that differs from backtracking by systematically eliminating variables from the problem.

11
New cards

Commutative Property

A property of constraint satisfaction problems where the order of assigning values to variables does not affect the final assignment reaching a solution.

12
New cards

Tie-breaker

The use of a secondary heuristic, such as the Degree Heuristic, to choose between variables that have the same value for the primary heuristic like MRV.