首页> 美国政府科技报告 >Recursive Algorithm to Generate Stack Permutations: An Exercise in Software Adaptation
【24h】

Recursive Algorithm to Generate Stack Permutations: An Exercise in Software Adaptation

机译:生成栈排列的递归算法:软件自适应中的一种练习

获取原文

摘要

A brute force method of generating stack permutations is to generate all permutations and then reject those that do not satisfy the stack permutation property. We develop a better (recursive) algorithm for generating stack permutations by adaptation of a formally derived recursive algorithm for generating permutations. We first analyze properties of stack permutations to arrive at a test condition which can be used in conjunction with the permutation algorithm. This test is then integrated into that algorithm to achieve the desired result. (ERA citation 08:038300)

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号