为了克服手工绘制前趋图的缺点,开发了前趋图的演示系统,从而实现了前趋图的自动绘制。依次对前趋图演示系统进行了需求分析、概要设计和详细设计,然后使用Visual C++开发工具对该系统进行了编码和实现。前趋图演示系统具有程序语句输入及语法错误自动检测、前趋图动态显示、前趋关系动态显示以及前趋图管理等功能。前趋图演示系统界面美观,操作方便,交互性强,具有较强的实用性。该系统既可以作为前趋图研究的有效平台,又可以作为前趋图课堂教学的辅助工具。
In order to overcome the drawback of hand-drawn precedence graph, a precedence graph demonstration system is developed to draw the precedence graph automatically. Requirement analysis, summary design, and detailed design are provided successively for the precedence graph demonstration system. Then, the system is coded and implemented by using the Visual C + + development tool. The precedence graph demonstration system has the functions of program statement input and automatic detection of grammatical mistakes, dynamic display of precedence graph, dynamic display of precedence relation, and the management of precedence graph. The precedence graph demonstration system owns the merits of beautiful interface, convenient operation, and strong interaction, it leads to strong practicability. The system can be regarded as the efficient platform for precedence graph research as well as the assistant tool for precedence graph classroom teaching.