Graph Programs cs图程序.nott.ac.uk.pptVIP

  • 6
  • 0
  • 约5.55千字
  • 约 11页
  • 2017-03-07 发布于上海
  • 举报
Graph Programs cs图程序.nott.ac.uk

Graph Programs for Graph Algorithms Sandra Steinert and Detlef Plump The University of York 22/03/05 Example: Graph Algorithm in C (Sedgewick) Graph Program Simple_Dijkstra (Conditional) Rule Schemata Graph Programs Graph Program Simple_Dijkstra Results for Simple_Dijkstra Proposition: Simple_Dijkstra always terminates (follows easily from rules) (2) Correctness: started from a graph containing an unique node s with tag _0, Simple_Dijkstra produces the graph which is obtained by labelling each node v with the shortest distance from s to v Complexity worst case: exponential in the number

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档