Look-ahead (backtracking) - Constraint Satisfaction

Constraint Satisfaction

In a general constraint satisfaction problem, every variable can take a value in a domain. A backtracking algorithm therefore iteratively chooses a variable and tests each of its possible values; for each value the algorithm is recursively run. Look ahead is used to check the effects of choosing a given variable to evaluate or to decide the order of values to give to it.

Read more about this topic:  Look-ahead (backtracking)

Famous quotes containing the words constraint and/or satisfaction:

    In America a woman loses her independence for ever in the bonds of matrimony. While there is less constraint on girls there than anywhere else, a wife submits to stricter obligations. For the former, her father’s house is a home of freedom and pleasure; for the latter, her husband’s is almost a cloister.
    Alexis de Tocqueville (1805–1859)

    Moral laws are set as a curb and restraint to these exorbitant desires, which they cannot be but by rewards and punishments, that will over-balance the satisfaction any one shall propose to himself in the breach of the law.
    John Locke (1632–1704)