首页> 外文OA文献 >Active templates: Manipulating pointers with pictures
【2h】

Active templates: Manipulating pointers with pictures

机译:活动模板:使用图片处理指针

摘要

Active templates are a semi-automatic visual mechanism for generating algorithms for manipulating pointer-based data structures. The programmer creates a picture showing the affected part of a data structure before and after a general-case manipulation. Code for the operation is compiled directly from the picture, which also provides the development environment with enough information to generate, automatically, a series of templates for other similar pictures, each describing a different configuration which the data structure may possess. The programmer completes the algorithm by creating matching after-pictures for each of these cases.At every stage, most of the picture-generation is automatic. Much of the tedious detail of conventional pointer-based data-structure manipulation, such as maintenance of current pointers, is unnecessary in a system based on active templates.
机译:活动模板是一种半自动的可视化机制,用于生成用于处理基于指针的数据结构的算法。程序员创建一幅图片,显示在一般情况下操作前后数据结构的受影响部分。用于操作的代码直接从图片编译而成,这也为开发环境提供了足够的信息,以自动生成用于其他类似图片的一系列模板,每个模板描述数据结构可能拥有的不同配置。程序员通过为每种情况创建匹配的后置图片来完善算法。在每个阶段,大多数图片生成都是自动的。在基于活动模板的系统中,传统的基于指针的数据结构操作的许多繁琐细节(例如当前指针的维护)是不必要的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号