Skip to content

Commit b2348fa

Browse files
authored
Update Min-Conflicts.md
1 parent 855a006 commit b2348fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Min-Conflicts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ __function__ MIN-CONFLICTS(_csp_, _max\_steps_) __returns__ a solution of failur
66
    _max\_steps_, the number of steps allowed before giving up
77

88
 _current_ ← an initial complete assignment for _csp_
9-
 __for__ _i_ to _max\_steps_ __do__
9+
 __for__ _i_ = 1 to _max\_steps_ __do__
1010
   __if__ _current_ is a solution for _csp_ __then return__ _current_
1111
   _var_ ← a randomly chosen conflicted variable from _csp_.VARIABLES
1212
   _value_ ← the value _v_ for _var_ that minimizes CONFLICTS(_var_, _v_, _current_, _csp_)

0 commit comments

Comments
 (0)