Skip to content

Commit

Permalink
Update Min-Conflicts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ctjoreilly authored Jun 11, 2016
1 parent 855a006 commit b2348fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Min-Conflicts.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ __function__ MIN-CONFLICTS(_csp_, _max\_steps_) __returns__ a solution of failur
    _max\_steps_, the number of steps allowed before giving up

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

0 comments on commit b2348fa

Please sign in to comment.