AI Wiki中文/EN

Forward checking: prune a branch without corrupting the next one

前向检查

Filter future neighbors, restore every deletion, and distinguish a solution from an interrupted search in a computed binary CSP.

On this pageIntuitionMathematics & methodImplementationLimitationsExercisesResearch connections

Erase a choice while you still remember why

Three neighboring radio transmitters A, B and C form a chain: A interferes with B, and B interferes with C. An interfering pair must use different channels. A and B may choose channel 0 or 1; C is fixed to channel 1. These are the complete rules of this teaching example. A and C do not interfere.

Try A=0. B can no longer use 0, so remove that value immediately. B now has {1}, while C still has {1}. Both domains are nonempty, but B and C cannot both use channel 1. A check limited to A’s neighbors has not discovered that conflict yet.

When the search next tries B=1, it removes C’s only value and rejects the branch. Before trying A=1, it must put back both deleted choices: C=1 and B=0. Forget either restoration and a failed branch can corrupt a later, valid one. The solution is A=1, B=0, C=1.

Forward checking performs this early filtering whenever search assigns a variable. It checks that choice against still-unassigned neighbors and records what it removed. It does not automatically propagate deletions between two unassigned variables. This boundary is explicit in Haralick and Elliott’s description of forward checking. IJCAI 1979, §2.3, p.360

This is a binary channel-assignment model. It is not the preceding chapter’s four-activity schedule with a high-arity capacity constraint. Turning that schedule into this interface would require a justified encoding; dropping its capacity rule would change the problem.

The current domains summarize decisions already made

Let DY0D_Y^0 be Y’s original finite domain and DYD_Y its current domain. After assigning X the value vv, forward checking changes each unassigned neighbor Y to

DY←{w∈DY:(v,w)∈RXY}.D_Y\leftarrow\{w\in D_Y:(v,w)\in R_{XY}\}.

Here RXYR_{XY} is the allowed relation with X’s value first. Variables without a constraint to X are untouched. A surviving value remains only a candidate: other future variables may require incompatible choices. Berkeley’s filtering section gives this assignment-to-neighbor rule. CS188, §2.3

Direction matters even when the graph is drawn with undirected edges. If X must be less than Y, exchanging the names does not make Y less than X. The reverse table represents the same condition with exchanged coordinates:

RYX={(w,v):(v,w)∈RXY}.R_{YX}=\{(w,v):(v,w)\in R_{XY}\}.

The implementation first chooses one orientation per variable pair. If several input constraints concern that pair, it converts them to this orientation and takes their intersection before searching:

RXY=⋂jRXY(j).R_{XY}=\bigcap_j R^{(j)}_{XY}.

Taking an intersection enforces all the constraints. Taking a union would accept pairs that pass only one. Checking whether each relation separately has some witness is also insufficient if those witnesses disagree. The code retains an empty intersection as a contradictory relation. It then creates the transposed reverse table, rather than expecting the caller to supply two consistent directions.

After a successful filtering step, let P be the assigned variables and N(Y)N(Y) Y’s neighbors. For every unassigned Y, the useful invariant is

DY={w∈DY0: ∀X∈P∩N(Y), (a(X),w)∈RXY}.D_Y=\{w\in D_Y^0:\ \forall X\in P\cap N(Y),\ (a(X),w)\in R_{XY}\}.

At the root P is empty, so every original value satisfies this condition. No root-wide propagation is needed to establish it. Assigning one more variable adds its restriction to its future neighbors; other current domains already summarize earlier choices. This is why the code need not check a candidate against past neighbors again. The invariant concerns unassigned variables; the assignment dictionary fixes an assigned variable’s value even though its stored domain is not replaced with a singleton.

If filtering empties a domain, no complete assignment can extend that branch. Each deletion has a local reason: the deleted value conflicts with a value already fixed. Conversely, retaining a value does not prove extendibility. Exhaustive search remains necessary in general. With finite domains, a fixed variable order and no budget cutoff, this search is complete: safe deletions lose no solution, each remaining candidate is visited once in its branch, and undo restores the sibling branch’s starting state.

The trail is a stack of actual deletions (variable, value). Before a branch, save its length as a mark. On every exit, pop back to that mark and restore those values. Only values that are currently present may be removed and recorded. A child must not restore a value removed by an ancestor. Copying all current domains per child is another correct design; the trail avoids those full snapshots during ordinary search.

Make cleanup observable, including on early returns

The complete Python 3.10+ program below accepts original domains as tuples of distinct integer labels and constraints as (scope, allowed_rows) pairs. Every scope has exactly two distinct declared variables. Rows must belong to the supplied original domains. Unary restrictions belong in those domains; nullary, unary and higher-arity relation objects are rejected. A variable with an empty domain is a valid unsatisfiable input, and a model with no variables has the one empty assignment.

Variable order defaults to dictionary insertion order; values follow their original tuple order. Neighbor order follows the first occurrence of each variable pair in the constraint input. Sets are used for membership and deletion, not to choose a search order. The same input therefore produces the same attempts and trace.

The search does not perform root arc consistency, even when a binary table is empty. It only checks for an initially empty domain before branching. The budget counts attempted variable-value assignments, not seconds, table construction or relation checks. It is tested when another live candidate would be tried. A solution or exhaustion reached exactly at the cap can still be reported.

StatusWhat the result establishes
foundfirst=True stopped on one complete solution; the remaining tree was not claimed exhausted.
exhaustedEvery branch was completed or soundly rejected. The returned list is the complete solution set, possibly empty.
budgetAnother candidate remained when the attempt cap was reached. Returned solutions are valid, but the list is not certified complete.

first=False enumerates by default. trace=True records assignment, pruning, successful filtering, domain wipeout, solution and restoration events. On all three normal return paths, finally restores the branch’s trail and removes its assignment. The returned domain snapshot and empty trail allow tests to check cleanup directly. A saved solution is a separate dictionary; restored domains are not the solution itself.

def forward_check(domains, constraints, order=None, budget=None,
                  first=False, trace=False):
    if type(domains) is not dict or any(type(x) is not str or not x for x in domains):
        raise ValueError('domains must be a dict with nonempty string names')
    base = {}
    for x, values in domains.items():
        if type(values) is not tuple or any(type(v) is not int for v in values):
            raise ValueError('domains must be tuples of integer labels, not booleans')
        if len(set(values)) != len(values):
            raise ValueError('domain labels must be distinct')
        base[x] = values
    order = tuple(base) if order is None else tuple(order)
    if any(type(x) is not str for x in order) or len(order) != len(base) or set(order) != set(base):
        raise ValueError('order must list every variable exactly once')
    if budget is not None and (type(budget) is not int or budget < 0):
        raise ValueError('budget must be None or a nonnegative integer')
    if type(first) is not bool or type(trace) is not bool:
        raise ValueError('first and trace must be booleans')
    rank = {x: i for i, x in enumerate(base)}
    domain_sets = {x: set(values) for x, values in base.items()}
    merged = {}
    for scope, rows in constraints:
        if (type(scope) is not tuple or len(scope) != 2 or scope[0] == scope[1]
                or any(type(x) is not str or x not in base for x in scope)):
            raise ValueError('each scope needs two distinct declared variables')
        x, y = scope
        allowed = set()
        for row in rows:
            if (type(row) is not tuple or len(row) != 2
                    or any(type(v) is not int or v not in domain_sets[z]
                           for z, v in zip(scope, row))):
                raise ValueError('rows must be pairs of in-domain integer values')
            allowed.add(row)
        if rank[x] > rank[y]:
            x, y = y, x
            allowed = {(b, a) for a, b in allowed}
        if (x, y) in merged:
            merged[x, y].intersection_update(allowed)
        else:
            merged[x, y] = allowed
    pairs, neighbors = {}, {x: [] for x in base}
    for (x, y), allowed in merged.items():
        pairs[x, y] = allowed
        pairs[y, x] = {(b, a) for a, b in allowed}
        neighbors[x].append(y)
        neighbors[y].append(x)
    live = {x: set(values) for x, values in base.items()}
    assignment, trail, events, solutions = {}, [], [], []
    stats = {'attempts': 0, 'checks': 0, 'deletions': 0,
             'restorations': 0, 'wipeouts': 0, 'nodes': 0}

    def emit(*event):
        if trace:
            events.append(event)

    def undo(mark, depth):
        while len(trail) > mark:
            y, value = trail.pop()
            live[y].add(value)
            stats['restorations'] += 1
            emit('restore', depth, y, value)

    def filter_neighbors(x, value, depth):
        for y in neighbors[x]:
            if y in assignment:
                continue
            for other in base[y]:
                if other in live[y]:
                    stats['checks'] += 1
                    if (value, other) not in pairs[x, y]:
                        live[y].remove(other)
                        trail.append((y, other))
                        stats['deletions'] += 1
                        emit('prune', depth, y, other)
            if not live[y]:
                stats['wipeouts'] += 1
                emit('wipeout', depth, y)
                return False
        emit('filtered', depth, x)
        return True

    def visit(depth):
        stats['nodes'] += 1
        if depth == len(order):
            solutions.append(assignment.copy())
            emit('solution', depth)
            return 'found' if first else 'exhausted'
        x = order[depth]
        for value in base[x]:
            if value not in live[x]:
                continue
            if budget is not None and stats['attempts'] >= budget:
                return 'budget'
            stats['attempts'] += 1
            mark = len(trail)
            assignment[x] = value
            emit('assign', depth, x, value)
            try:
                if filter_neighbors(x, value, depth):
                    status = visit(depth+1)
                    if status != 'exhausted':
                        return status
            finally:
                undo(mark, depth)
                del assignment[x]
                emit('unassign', depth, x, value)
        return 'exhausted'

    # Structural validation and initial empty-domain detection are not search attempts.
    status = 'exhausted' if any(not d for d in live.values()) else visit(0)
    return {'status': status, 'solutions': solutions, **stats,
            'events': tuple(events), 'domains_after': {x: frozenset(d) for x, d in live.items()},
            'trail_size': len(trail), 'assignment_after': assignment.copy()}


DOMAINS = {'A': (0, 1), 'B': (0, 1), 'C': (1,)}
UNEQUAL = ((0, 1), (1, 0))
CONSTRAINTS = ((('A', 'B'), UNEQUAL), (('B', 'C'), ((0, 1),)))
for budget in (0, 2, 4, 5, None):
    result = forward_check(DOMAINS, CONSTRAINTS, budget=budget)
    print('budget', budget, result['status'], result['attempts'], result['solutions'])
found = forward_check(DOMAINS, CONSTRAINTS, first=True, trace=True)
print('first', found['status'], found['attempts'], found['checks'],
      found['deletions'], found['restorations'])
print('root restored:', found['domains_after'] == {x: frozenset(d) for x, d in DOMAINS.items()},
      'trail', found['trail_size'], 'assignment', found['assignment_after'])
triangle = forward_check({x: (0, 1) for x in DOMAINS},
                         tuple((scope, UNEQUAL) for scope in (('A', 'B'), ('A', 'C'), ('B', 'C'))))
print('triangle', triangle['status'], triangle['attempts'], len(triangle['solutions']))

The printed results include:

budget 0 budget 0 []
budget 2 budget 2 []
budget 4 budget 4 []
budget 5 exhausted 5 [{'A': 1, 'B': 0, 'C': 1}]
budget None exhausted 5 [{'A': 1, 'B': 0, 'C': 1}]
first found 5 6 3 3
root restored: True trail 0 assignment {}
triangle exhausted 4 0

The four numbers after first found are attempts, relation checks, deletions and restorations. In the failed A=0 branch, the beginning of the trace is:

EventWhat changed
Assign A=0The branch fixes A.
Prune B=0B becomes {1}; C remains {1}.
Assign B=1; prune C=1C becomes empty, so the branch fails.
Restore C=1; unassign BUndo B’s changes before leaving its branch.
Restore B=0; unassign AThe original domains are ready for A=1.

The triangle in the final output is a different model: all three variables have {0,1}, and every pair must differ. It has no two-channel solution. Forward checking proves this after four attempted assignments. These counts describe this program and its fixed order; they are not timing measurements or a general claim that a smaller search tree runs faster.

For cost accounting, let n be the number of variables, D=∑X∣DX0∣D=\sum_X|D_X^0|, d the largest original domain size, and Δ\Delta the largest degree after merging pairs. Set d=Δ=0d=\Delta=0 when there are no variables. If there are q input constraints with L rows in total, validation and relation compilation take expected O(1+n+D+q+L)O(1+n+D+q+L) operations under ordinary hashing and constant-cost labels. The compiled model requires O(1+n+D+e+M)O(1+n+D+e+M) storage, where e is the number of merged pairs and M their total number of allowed rows. Two orientations change only the constant factor.

After compilation, let V count calls to visit, A attempted assignments, s saved solutions and H recorded events. A safe time bound is O(1+n+D+V(1+d)+A(1+Δ(1+d))+s(1+n)+H)O(1+n+D+V(1+d)+A(1+\Delta(1+d))+s(1+n)+H). This code scans original domain tuples even when some values are no longer live, so counting only surviving values would miss work. Each removal is undone once; those costs are included in the filtering term. Excluding the compiled model, working domains, recursion and trail use O(1+n+D)O(1+n+D) space. Saved solutions add O(s(1+n))O(s(1+n)) and tracing adds O(H)O(H). Search can still take exponential time, and Python’s recursion limit constrains large n.

A smaller domain is not a propagated network

Under A=0 in the chain, forward checking leaves B={1} and C={1} because C is not A’s neighbor. Enforcing arc consistency on B–C would remove B’s unsupported 1 and expose failure before trying B=1. Maintaining arc consistency inside search continues the implications of domain changes across the residual network. Forward checking stops after the current variable’s unassigned neighbors.

Mackworth defines an arc’s support condition on p.103, explains why one pass may not suffice on p.104, and gives AC-3’s reconsideration rule on p.106. These are stronger propagation obligations than this chapter implements. Consistency in Networks of Relations, §§4 and 6 To claim that the entire residual network is arc consistent, establish the required consistency at the root and maintain it correctly, or process the whole relevant network. Merely starting a local queue near a new assignment cannot repair an unrelated root inconsistency that was never examined.

More propagation has a cost. It may reject a branch earlier, but maintaining queues and checking extra supports also takes work. A fair experiment uses the same model, variable/value policy, termination objective and accounting units. Haralick and Elliott’s reported comparisons are results for their tested settings, not a guarantee that forward checking wins on every model or implementation. Their §2.3 describes copying permitted labels to the next level; the original program here instead demonstrates a deletion trail. IJCAI 1979, pp.358–360

The model boundary also matters. An AllDifferent constraint can be decomposed into pairwise inequalities without changing complete solutions, although propagation strength can change. An arbitrary high-arity constraint cannot simply be replaced by every pairwise projection. The capacity rule from the four-activity schedule is not silently supported here. Use an explicit encoding or a solver with the required higher-arity propagator.

This search validates relation rows against the original domains once. A standalone propagation routine may instead accept fixed tables containing values outside its current, already-reduced domains. Those are different interfaces. Passing reduced domains back to this constructor while retaining out-of-domain table rows is rejected; continuing this search uses its internal live domains instead.

The attempt budget does not limit input size, trace size, preprocessing time or individual integer/hash costs. For large tasks, a production solver needs resource controls suited to the actual environment. For this small example, the cap has one precise purpose: demonstrate that an interrupted search must return incomplete evidence honestly.

Predict a deletion, then reverse it

1. After A=0 in the channel chain, what are B and C’s domains? Why can forward checking accept this step although it has no complete extension?

Answer: B becomes {1} and C remains {1}. Only B shares a constraint with the newly assigned A. The conflict between future B and C has not been checked. Neither domain is empty, so this filtering step succeeds; the next attempted B=1 removes C=1 and rejects the branch. No extra search can make A=0 extendible under these fixed rules.

2. Which values must be restored after the failed A=0 branch? What if a programmer restores B=0 but forgets C=1?

Answer: Undo the inner deletion C=1, then the outer deletion B=0, returning to the original domains before A=1. Leaving C empty contaminates the sibling branch and can hide the valid assignment (1,0,1). A branch restores only deletions after its own mark; it must preserve restrictions still imposed by ancestors.

3. X and Y each have domain 1. One relation requires equality and another requires inequality. How should they be combined, and what changes if the second scope is written (Y,X)?

Answer: Orient both tables consistently and intersect them; the intersection is empty, so the model has no solution. Reversing a scope requires transposing its rows. Inequality happens to be symmetric, so transposing that particular table leaves its entries unchanged; an order relation would not have that property. Taking a union or treating two separate witnesses as one would change the semantics.

4. What do attempt caps 4 and 5 establish for the chain? What changes with first=True, and how is the zero-variable case handled?

Answer: At 4 attempts the program has not tried C=1 on the successful branch; it returns budget with no solution. At 5 it finds (1,0,1). Full enumeration then returns exhausted, because no candidate remains; first=True instead returns found. Both restore all domains and empty the trail. With no variables, {} is already a complete solution and needs zero attempts: found in first-solution mode, otherwise exhausted, even with budget 0.

Check what was removed and what came back

A solution-set comparison alone can miss state corruption that appears only with a different sibling order or early exit. The accompanying tests compare solutions with complete enumeration, reverse directional relations, intersect parallel constraints and vary variable order and budgets. A separate event auditor reconstructs current domains, verifies every deletion against the original rules, checks the stack’s last-in-first-out restoration and compares each branch’s post-cleanup domains with its pre-branch snapshot.

The graph tests also enumerate channel assignments directly from edges, independently of the relation-table representation. Source descriptions supply the algorithmic distinction; the chain, budgets, counters, trace and Python are constructed for this article. No historical performance table or source code is reproduced.

Backtracking explains the search being improved. Arc consistency develops repeated support checks, while constraint propagation studies how domain reductions are coordinated. Keep those obligations separate when instrumenting a solver: record what each method actually checks, not just the name on its result.

Make a prediction, then check

The channel chain enumerates all solutions by default. With an attempt cap of exactly five, it returns one solution and has no remaining candidate. Which status is correct?

Choose one answer

Learning objectives

  • Explain the forward-checking invariant, orient and merge binary relations consistently, and distinguish future-neighbor filtering from maintaining arc consistency.
  • Undo domain deletions using marks and a trail, verify sibling and early-return restoration, and interpret found, exhausted and budget states precisely.

Prerequisites & connections

Explore related knowledge →

References

  1. Increasing Tree Search Efficiency for Constraint Satisfaction Problems
    Robert M. Haralick; Gordon L. Elliott · 1979
  2. Consistency in Networks of Relations
    Alan K. Mackworth · 1977
  3. CS188 — 2.3 Filtering
    University of California, Berkeley; CS188 course staff

Version1 · Editorial status: Recorded technical checks completed

View technical check record (AI)

Codex · 2026-09-05 · Codex technical check: primary-source locations, original runnable models, independent finite-state oracles, bilingual review and second-agent cross-checks; not independent human peer review.

  • Codex reread both complete articles: four display equations, full Python, six anchors and four answered exercises correspond. Checked filtering only unassigned neighbors, the current-domain invariant relative to assigned neighbors, safe deletion and unbudgeted completeness, orientation-before-intersection, no root AC and the binary interface versus the earlier high-arity schedule capacity.
  • All eight checks passed: 64 four-vertex two-color graphs ×24 orders give 1,536 matches to a direct edge-coloring oracle; 120 random directed/parallel-relation cases in two orders give 240 matches to exhaustive constraints and their merged single relation; 120 random small models ×two first-solution modes ×four budgets give 960 searches audited independently for deletion reasons, LIFO restoration, branch snapshots, witnesses and complete cleanup.
  • The chain has sole solution (1,0,1), with five attempts, six relation checks and three deletions/restorations; caps 0/2/4 return budget, cap 5 and no cap return exhausted, and first=True returns found. The two-color triangle exhausts after four attempts with no solution. Also checked zero variables, initial empty domains, no root propagation of empty binary tables, exact-cap exhaustion, nonascending values, input preservation and invalid higher-arity/repeated-variable/out-of-domain rows.
  • Both locales were individually compiled and rendered to static HTML with the current MDX compiler, remark-math, project display-math plugins and strict KaTeX. Each has four display equations and four answers, no KaTeX errors or leftover emphasis markers; targeted prose scanning passed. The first check caught unrendered Chinese Markdown emphasis around the trail term; changed it to strong and rechecked without changing code.
  • Complexity separately accounts for relation validation/merging, scanning original domains during search, saved solutions and optional traces; one active path retains at most the total original-domain size in deletions. Files remain only in /tmp/aiwiki-next-forward-checking with review:written. No repository/shared registry/publication count edits or whole-site check/build; this is AI technical checking, not independent human peer review. Source PDFs/page images are verification material, not publication assets.
  • Second Codex AI cross-check: Built an independent copy-per-branch domain reference that checks conjunctions directly against original relations, without the tested implementation's merged pairs tables or returned events as a decision oracle. The 350 random models cover zero through five variables; ordered domains of length zero through three drawn from {-3,0,5}; and zero through seven binary constraints with reverse, parallel and duplicate rows. Three variable orders, budgets {None,0,1,2,3,5,8}, and both first modes give 14,700 matching complete results, including solution order, status, all six work counters and returned restoration snapshots.
  • Second Codex AI cross-check: Traced internal state directly rather than replaying events: 64 visit returns restored the domains, assignment and trail present at their call entry, and 46 successful filters satisfied the unassigned-domain invariant independently recomputed from original constraints. Injected an exception after the chain's child branch deleted C=1; enclosing finally blocks restored the actual live domains and emptied assignment and trail. This exception audit targets protected filtering execution, not arbitrary failures such as memory exhaustion at any program location.
  • The second AI suggested explicitly setting d=Δ=0 for an empty model; updated and reread both languages. Final strict MDX/KaTeX static rendering, emphasis checks and all eight tests passed again. Cross-review record: /tmp/aiwiki-forward-checking-peer-review.json; independent program: /tmp/aiwiki-fc-independent-review.py.
  • A second AI agent reread both complete articles, the program, all eight tests and final metadata. Checked unassigned-neighbor filtering, the exact current-domain invariant relative to all assigned neighbors, no root AC, strict validation against original domains, orientation-before-intersection and reverse transposes, solution preservation and unbudgeted completeness. The binary interface is not confused with the high-arity schedule by dropping its capacity constraint. No algorithmic, numerical or source-attribution defect was found.
  • Built an independent copy-per-branch domain reference that checks conjunctions directly against original relations, without the tested implementation's merged pairs tables or returned events as a decision oracle. The 350 random models cover zero through five variables; ordered domains of length zero through three drawn from {-3,0,5}; and zero through seven binary constraints with reverse, parallel and duplicate rows. Three variable orders, budgets {None,0,1,2,3,5,8}, and both first modes give 14,700 matching complete results, including solution order, status, all six work counters and returned restoration snapshots.
  • Traced internal state directly rather than replaying events: 64 visit returns restored the domains, assignment and trail present at their call entry, and 46 successful filters satisfied the unassigned-domain invariant independently recomputed from original constraints. Injected an exception after the chain's child branch deleted C=1; enclosing finally blocks restored the actual live domains and emptied assignment and trail. This exception audit targets protected filtering execution, not arbitrary failures such as memory exhaustion at any program location.
  • All eight final tests passed. Reproduced the chain's five attempts, six checks, three deletions/restorations and sole solution (1,0,1): first=True returns found and enumeration returns exhausted; caps zero through four return budget and exactly five can finish. Checked the empty assignment for zero variables, initial empty-domain exhaustion at zero budget, a nonempty-domain model with an empty binary table still returning budget at cap zero, branch-local trail restoration and independent solution dictionaries.
  • Reread the separate complexity terms for preprocessing, compiled relations, original-domain scanning, search, solution output and optional traces; an active path's trail holds at most the total original-domain size in deletions. Suggested defining d=Δ=0 for the empty model; the author added it in both languages and the peer reread the revision. Both Python blocks are byte-identical to example.py, with four matching display equations, six anchors and four answers. This is AI technical cross-review; the peer edited neither author files nor repository and claims neither human peer review, browser visual QA nor reproduction of historical performance tables.
  • Promotion preserves full prose, equations, program and exercises. Test loading alone changes from temporary drafts to repository articles; implementation and oracle logic are unchanged. Final review binds both MDX SHA-256 hashes.

Source locations checked:

  • Increasing Tree Search Efficiency for Constraint Satisfaction Problems · The web open exceeded its PDF size limit. Downloaded the source URL, extracted local text and read printed/PDF page 356 for title/authors, binary-CSP scope and conditional experiment claims; pages 358–359 for current/past/future distinctions and CHECK_FORWARD versus LOOK_FUTURE; page 360 section 2.3 for retaining compatibility with past assignments, testing only current-to-future constraints, rejecting an empty future domain and copying permitted labels to the next level. Rendered and visually inspected page 360. The local source is a 608-page proceedings volume; do not report it as a nine-page PDF or republish the volume.
  • Consistency in Networks of Relations · Read author PDF printed pages 100–101 (PDF 2–3) on reverse predicates, page 103 (PDF 5) for the arc-support definition, page 104 (PDF 6) for REVISE and the insufficiency of a single pass, and pages 105–106 (PDF 7–8) for affected-arc reconsideration and AC-3. Independently rendered and inspected printed pages 103 and 106. This draft does not implement AC-3 or claim that local seeding alone establishes global consistency from an unchecked root.
  • CS188 — 2.3 Filtering · Actually opened section 2.3, lines 85–93 for filtering unassigned neighbors after each assignment, directed support and re-enqueueing; read lines 110–116 for context without adopting universal cost/ranking or unrestricted consistency claims. The channel chain, trail, counters, termination states and tests are original.
  • Increasing Tree Search Efficiency for Constraint Satisfaction Problems · Peer web open failed because the returned file was 18,244,619 bytes, above that tool's limit. Independently read the author's downloaded local text from /tmp/aiwiki-next-forward-checking/haralick-elliott1979.txt: PDF/printed page 356 for title, authors, binary scope and qualified tested-performance claims; pages 358–360 for past/current/future distinctions, CHECK_FORWARD versus LOOK_FUTURE, and section 2.3's copied next-level label tables. Visually read /tmp/aiwiki-next-forward-checking/haralick-page360.png, confirming printed 360 and the omitted future-to-future checks. Page chunks and printed labels confirm that #page=358 and #page=360 address the intended pages of this full proceedings volume. This peer did not freshly compare local PDF bytes to the remote URL. Local PDF SHA256: f53e2b13a593e512baa50ae1d44732e0d14f18208736d5f1292378c00880be4e.
  • Consistency in Networks of Relations · Independently opened the author-hosted 20-page PDF. Read printed pages 100–101 on exchanged predicate coordinates; page 103, extracted lines 167–187, on consistency definitions; page 104, lines 198–235, on REVISE and why one pass is insufficient. Visually read /tmp/aiwiki-next-forward-checking/mackworth-page106.png, including the AC-3 affected-arc rule and suppression of duplicate pending arcs. The draft correctly treats FC as weaker than maintaining the required network consistency, without assuming a locally seeded queue fixes an unchecked disconnected root component.
  • CS188 — 2.3 Filtering · Independently opened section 2.3 and read lines 85–93: filtering unassigned neighbors of a newly assigned variable, support orientation and the repeated arc-consistency obligation. Read lines 98–114 for contextual comparison without reproducing the course map or adopting an unconditional runtime ranking. The draft's current-domain invariant and distinction from residual-network propagation agree with this source.

Related topics

No matches. Try a synonym or acronym.

0 results shown

Wrap the whole query in double quotes for a phrase match.