Changeset 29273 in project


Ignore:
Timestamp:
06/28/13 10:13:01 (8 years ago)
Author:
Peter Danenberg
Message:

Fix the type for ac-3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/aima

    r29272 r29273  
    211211</enscript>
    212212==== {{ac-3}}
    213 <procedure>(ac-3 csp) → unspecified</procedure>
     213<procedure>(ac-3 csp) → boolean</procedure>
    214214Check arc-consistency of a csp; returns {{#t}} if the object is
    215215arc-consistent.
    216216; csp : A constraint-satisfaction object
    217 ; to : boolean
    218217<enscript highlight="scheme">(define (ac-3 csp)
    219218  (let ((queue (list->queue (hash-table-keys (csp-constraints csp)))))
Note: See TracChangeset for help on using the changeset viewer.