http://www.doc.ic.ac.uk/~sgc/teaching/pre2012/v231/lecture15.html
السلام عليكم للجميع ...
بالرابط اللي بالاعلى في نقطة مو مفهومه انظر الى شكل (4-queens problem below: )
Then, counting rows from the top downwards and columns from the left, the solution would be represented as: X1=2, X2=4, X3=1, X4=3. This is because the queen on row 1 is in column 2, the queen in row 2 is in column 4, the queen in row 3 is in column 1 and the queen in row 4 is in column 3. The constraint between variable X1 and X2 would be
على أي اساس وجد القيد هدا
C1,2 = {(1,3),(1,4),(2,4),(3,1),(4,1),(4,2)} ????????
مثلا لو نريد c1,3
ايش بيكون الحل؟؟ رجاء توضبح الاول كيف للايجاد هدا ...شكرااا
