Computer Science, Artificial Intelligence
Year 2
operator/sate world to implememnt the eight queens problem
--------------------------------------------------------------------------------
I want help with writing the opeartors which contains the states includiing its precondition and action for the eight queens problem. that is placing 8 pieces (the queens) on an 8 by 8 chess board. i want the code to be as basic and uncomplicated as possible.
attched is an example file(wwtt) of how the operators should look like.the states preferably should be in a list format when tested( strucutre will do also). i've also included the search code i'll be using to implement the searches after the operators are provided. so if possible run a breadth and random search to see if your states apply to the provided code and an example of how it was run provided as well.thanx
NB: i'm not worRied about if a queen attacks another queen at the moment. just simple operators to simulate the problem in an operator/state world will do. it will help if you looked at the file attached.
Attachment:- state-operator.zip