title: 4 queen, min conflicts
body: <p>I would like some help with <a href="http://en.wikipedia.org/wiki/Min-conflicts_algorithm" rel="nofollow">min-conflicts algorithm</a>.</p>
  
  <pre><code>  A B C D
  1 _ _ Q Q
  2 Q _ _ _
  3 _ _ _ _
  4 _ Q _ _
  </code></pre>
  
  <p>If we are at this point,</p>
  
  <ul>
  <li>will the algorithm choose <strong>randomly</strong> to move either <code>C</code> or <code>D</code> because both of them create the same number of conflicts (<code>C</code> in conflict with <code>D</code>, <code>D</code> in conflict with <code>C</code>), </li>
  <li><strong>or</strong> will it choose <code>D</code> because the best place we can move <code>C</code> is in 3rd row and that will result in 1 conflict and if we choose <code>D</code> and move it in 3rd row will result in 0 conflicts.</li>
  </ul>