Backmarking

Backmarking

In constraint satisfaction, backmarking is a variant of the backtracking algorithm.

Backmarking works like backtracking by iteratively evaluating variables in a given order, for example, x_1,ldots,x_n. It improves over backtracking by maintaining information about the last time a variable x_i was instantiated to a value and information about what changed since then. In particular:

# for each variable x_i and value a, the algorithm records information about the last time x_i has been set to a; in particular, it stores the minimal index j such that the assignment to x_1,ldots,x_j,x_i was then inconsistent;
# for each variable x_i, the algorithm stores some information relative to what changed since the last time it has evaluated x_i; in particular, it stores the minimal index k of a variable that was changed since then.

The first information is collected and stored every time the algorithm evaluates a variable x_i to a, and is done by simply checking consistency of the current assignments for x_1,x_i, for x_1,x_2,x_i, for x_1,x_2,x_3,x_i, etc.

The second information is changed every time "another" variable is evaluated. In particular, the index of the "maximal unchanged variable since the last evaluation of x_i" is possibly changed every time another variable x_j changes value. Every time an arbitrary variable x_j changes, all variables x_i with i>j are considered in turn. If k was their previous associated index, this value is changed to min(k,j).

The data collected this way is used to avoid some consistency checks. In particular, whenever backtracking would set x_i=a, backmarking compares the two indexes relative to x_i and the pair x_i=a. Two conditions allow to determine partial consistency or inconsistency without checking with the constraints. If k is the minimal index of a variable that changed since the last time x_i was evaluated and j is the minimal index such that the evaluation of x_1,ldots,x_j,x_i was consistent the last time x_i has been evaluated to a, then:

# if j, the evaluation of x_1,ldots,x_j,x_i is still inconsistent as it was before, as none of these variables changed so far; as a result, no further consistency check is necessary;
# if j geq k, the evaluation x_1,ldots,x_k,x_i is still consistent as it was before; this allows for skipping some consistency checks, but the assignment x_1,ldots,x_i may still be inconsistent.

Contrary to other variants to backtracking, backmarking does not reduce the search space but only possibly reduce the number of constraints that are satisfied by a partial solution.

References

*cite book
first=Rina
last=Dechter
title=Constraint Processing
publisher=Morgan Kaufmann
year=2003
url=http://www.ics.uci.edu/~dechter/books/index.html
id=ISBN 1-55860-890-7


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • BMJ — • Backmarking with backjumping technique/heuristic for improving the efficiency of constraint satisfaction (KI) • Baramita, Guyana internationale Flughafen Kennung …   Acronyms

  • Constraint satisfaction problem — Constraint satisfaction problems (CSP)s are mathematical problems defined as a set of objects whose state must satisfy a number of constraints or limitations. CSPs represent the entities in a problem as a homogeneous collection of finite… …   Wikipedia

  • Forti — Former F1 team Short name = Forti Long name = Parmalat Forti Ford (F1|1995) Forti Grand Prix (F1|1996) Base = Alessandria, Italy Founders = Guido Forti Paolo Guerci Staff = Giacomo Caliri Daniele Coronna Riccardo DiMarco Cesare Fiorio Hans Fouche …   Wikipedia

  • 2005 Australian Grand Prix — Infobox Grand Prix race report Type = F1 Country = Australia Grand Prix = Australian Date = March 6 Year = 2005 Official name = Foster s Australian Grand Prix Race No = 1 Season No = 19 Location = Melbourne Grand Prix Circuit, Melbourne,… …   Wikipedia

  • Forti — Saltar a navegación, búsqueda Forti Corse, comunmente conocido como Forti, era un equipo de automovilismo italiano más conocido por su fugaz y poco exitosa trayectoria en la Fórmula 1 a mediados de los 90. El equipo se estableció en los años 70 y …   Wikipedia Español

  • BM — • Binary Multiply • Backmarking technique/heuristic for improving the efficiency of constraint satisfaction (KI) • Breakdown Maintenance • Body Mounted • ISO3166 2LA (= Ländercode bzw. TopLevelDomain) für Bermuda • Autokennzeichen für Erftkreis… …   Acronyms

  • BM — [1] Binary Multiply [2] Backmarking technique/heuristic for improving the efficiency of constraint satisfaction ( KI) [3] Breakdown Maintenance [4] Body Mounted [5] ISO3166 2LA ( = Ländercode bzw. TopLevelDomain) für Bermuda [6] Autokennzeichen… …   Acronyms von A bis Z

  • BMJ — [1] Backmarking with backjumping technique/heuristic for improving the efficiency of constraint satisfaction ( KI) [2] Baramita, Guyana internationale Fughafen Kennung …   Acronyms von A bis Z

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”