使用约束满足问题解决8个女王 [英] use constraint satisfaction problem to solve 8 queen

查看:88
本文介绍了使用约束满足问题解决8个女王的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的会员,
我需要使用约束满足问题(csp)来解决8queen问题
请为我编写程序并对其进行分析.
感谢

dear members,
i need a solution of 8queen by using constraint satisfaction problem(csp)
please write for me the program and Analysis of it.
thanks

推荐答案

在这里发布问题之前,您需要自己先尝试一下.您还需要使查询范围更窄,因为我们不是在这里为您编写完整的解决方案.我们在这里是为了帮助其他人成为更好的程序员,而不是帮助您避免成为一个程序员.
You need to attempt this yourself first before posting questions here. You also need to make your query more narrow, as we''re not here to code complete solutions for you. We''re here to help others become better programmers, not to help you avoid being one.


这篇关于使用约束满足问题解决8个女王的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆