arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1606.01081cs.PLcs.DB
收藏

在OCaml中实现用于情报分析的图论

Implementing graph grammars for intelligence analysis in OCaml

Rod Moten, Kemafor Anyanwu-Ogan, Sahibi Miranshah

摘要:

我们报告在OCaml中实现用于智能分析的图形语法。在OCaml中,图文法被表示为代数数据类型的元素。除了代数数据类型之外,我们还使用函数式程序设计语言中的其他概念来实现图文法的功能。我们使用类型检查来执行图模式匹配。图转换被定义为从结构子类型证明、子集类型、lambda抽象和分析中派生的隐式转换。解析函数是一种通用的OCaml函数,其输出需要与代数数据类型的元素所描述的图形模式相匹配。通过使用强类型语言来表示图,我们可以确保从图转换生成的图将匹配特定的模式。这是情报分析的一项高度优先要求。

英文摘要:

We report on implementing graph grammars for intelligence analysis in OCaml. Graph grammars are represented as elements of an algebraic data type in OCaml. In addition to algebraic data types, we use other concepts from functional programming languages to implement features of graph grammars. We use type checking to perform graph pattern matching. Graph transformations are defined as implicit coercions derived from structural subtyping proofs, subset types, lambda abstractions, and analytics. An analytic is a general-purpose OCaml function whose output is required to match a graph pattern described by an element of an algebraic data type. By using a strongly-typed language for representing graphs, we can ensure graphs produced from a graph transformation will match a specific schema. This is a high priority requirement for intelligence analysis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑