Questions tagged [8-queens-problem]

For questions related to the eight queens problem (or puzzle) in the context of artificial intelligence.

2 questions
3
votes
2 answers

How to design a fitness function for the 8-queens problem?

In evolutionary computation and, in particular, in the context of genetic algorithms, there is the concept of a fitness function. The better a state, the greater the value of the fitness function for that state. What would be a good fitness function…
0
votes
0 answers

Arc Consistency in a 6-Queens Problem

Consider the following board: The exercise asks to apply the AC-3 algorithm, given that the domain of $v_1$ and $v_2$ is fix with $v_1 = 2$ and $v_2 = 5$. For the remaining domains, we should initially consider the whole domain $v_3 = v_4 = v_5 =…