20.07.2013 Views

Diapositiva 1 - Dipartimento di Matematica e Informatica

Diapositiva 1 - Dipartimento di Matematica e Informatica

Diapositiva 1 - Dipartimento di Matematica e Informatica

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DEFINIZIONE DEGLI ELEMENTI COSTITUTIVI:<br />

A= {12 pe<strong>di</strong>ne bianche nelle rispettive posizioni <strong>di</strong> partenza: Ai,j}<br />

A* = {dame bianche: A*i,j}<br />

B= {12 pe<strong>di</strong>ne nere nelle rispettive posizioni <strong>di</strong> partenza: Bi,j}<br />

B* = {dame nere: B*i,j}<br />

U= {1,2,3,4,5,6,7,8 } x {1,2,3,4,5,6,7,8} Universo<br />

C= {C1,1, C1,2, …………….., C8,8}<br />

Ci,j = 0 casella vuota<br />

Ci,j = 1 casella occupata<br />

MOVIMENTO PEDINE:<br />

Ai-1,j+1 per i ≠ 1, j ≠ 8, Ci-1,j+1 = 0<br />

m(Ai,j ) =<br />

Ai+1,j+1 per i ≠ 8, j ≠ 8, Ci+1,j+1 = 0<br />

Bi-1,j-1 per i ≠ 1, j ≠ 1, Ci-1,j-1 = 0<br />

m(Bi,j ) =<br />

Bi+1,j-1 per i ≠ 8, j ≠ 1, Ci+1,j-1= 0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!