首页> 外文期刊>SIGCSE bulletin >Two Novel Prolog Assignments
【24h】

Two Novel Prolog Assignments

机译:两种新颖的序言作业

获取原文
获取原文并翻译 | 示例

摘要

This paper describes two simple but novel Prolog assignments. The first extends the family tree example featured in many Prolog textbooks to the problem of tracing the line of succession to the throne of the British royal family. The solution uses a first-childext-sibling representation of the royal family tree, since the birth order of a royal's children is significant when determining the order of succession.rnThe second is a simple game that combines features of chess and rock-paper-scissors. The game board is a directed graph, rather than a simple grid.
机译:本文介绍了两个简单但新颖的Prolog作业。第一个方法将许多Prolog教科书中的家族树实例扩展到追寻英国王室王位继承路线的问题。该解决方案使用王室家谱的第一个孩子/下一个兄弟姐妹的表示形式,因为在确定继承顺序时,王室的孩子的出生顺序很重要。第二个是结合了国际象棋和石头的功能的简单游戏-剪刀。游戏板是有向图,而不是简单的网格。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号