⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graph-scc-sig.sml

📁 这是我们参加06年全国开源软件的竞赛作品
💻 SML
字号:
(* graph-scc-sig.sml * * COPYRIGHT (c) 1999 Lucent Bell Laboratories. * *   Calculate strongly-connected components of directed graph. *   The graph can have nodes with self-loops. * * author: Matthias Blume *) signature GRAPH_SCC =  sig    structure Nd : ORD_KEY    type node = Nd.ord_key    datatype component      = SIMPLE of node			(* singleton, no self-loop *)      | RECURSIVE of node list    val topOrder: { root: node, follow: node -> node list } -> component list	(* take root node and follow function and return	 * list of topologically sorted strongly-connected components;	 * root component goes first	 *)  end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -