期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
Formal Derivation of Graph AlgorithmicPrograms Using Partition-and-Recur 被引量:21
1
作者 薛锦云 《Journal of Computer Science & Technology》 SCIE EI CSCD 1998年第6期553-561,共9页
In this paper, we derive, by presenting some suitable notations, three typical graph aLgorithms and corresponding programs using a unified approach, partition-and-recur. We putemphasis on the derivation rather than th... In this paper, we derive, by presenting some suitable notations, three typical graph aLgorithms and corresponding programs using a unified approach, partition-and-recur. We putemphasis on the derivation rather than the algorithms themselves. The main ideas and lugesnutty of these algorithms are revealed by formula deduction. Success in these examples givesus more evidence that partition-and-recur is a simple and practical approach and developingenough suitable notations is the key in designing and deriving efficient and correct algorithmicprograms. 展开更多
关键词 Graph Algorithms method of algorithm design program derivation formalmethod.
原文传递
Two New Strategies for Developing Loop Invariants and Their Applications 被引量:35
2
作者 薛锦云 《Journal of Computer Science & Technology》 SCIE EI CSCD 1993年第2期147-154,共8页
The loop invariants take a very important role in the design,proof and derivation of the algorithmic program.We point out the limitations of the traditional standard strategy for developing loop invariants, and propos... The loop invariants take a very important role in the design,proof and derivation of the algorithmic program.We point out the limitations of the traditional standard strategy for developing loop invariants, and propose two new strategies for proving the existing algorithmic program and developing new ones. The strategies use recurrence as vehicle and integrate some effective methods of designing algorithms, e.g.Dynamic Programming,Greedy and Divide Conquer,into the recurrence relation of problem solving sequence.This lets us get straightforward an approach for solving a variety of complicated prob- lems,and makes the standard proof and formal derivation of their algorithmic programs possible.We show the method and advantages of applying the strategies with several typical nontrivial examples. 展开更多
关键词 Loop invariant standard proof and formal derivation of program recurrence relation algorithm design
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部